Save duplication of fetching and sanity-checking the locale-dependent calendar index data by packaging it as a lookup function. This can then take care of making the assertion of consistency with the matching QLocaleData entry and also lets me add, without duplicating, the slightly messy assert that m_data is what we expect (and are relying on) it to be. Task-number: QTBUG-126390 Change-Id: Ib514bee669956f432c007c858d01a9f7b6bbf86e Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit c9c498b5d1f5797c714fb07f06a84df881edb928) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%