summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-04-01 21:17:26 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-04-02 20:45:14 +0200
commitdb040630d664fa20bc4f8995d2168fcce51a8bfd (patch)
treec8ce30ba2974404d25557b26e7b725c8b8f063dd /include
parent38f731ff67142a423aa6f46dc3e92d094f86ffb1 (diff)
crashtesting: SvNFEngine::DefaultCurrencyRO assert
seen with forum-mso-en4-207468.xls so we will have to ensure that nDefaultSystemCurrencyFormat is set before using the RO mode Change-Id: Ib1e755203917ddd751a1493c817cc8383bbbc043 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165658 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svl/numformat.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/numformat.hxx b/include/svl/numformat.hxx
index 92f93bb1562a..484a2a1bfdb7 100644
--- a/include/svl/numformat.hxx
+++ b/include/svl/numformat.hxx
@@ -552,7 +552,6 @@ private:
OnDemandNativeNumberWrapper xNatNum; // Native number service loaded on demand
Link<sal_uInt16, Color*> aColorLink; // User defined color table CallBack
- SVL_DLLPRIVATE static volatile bool bCurrencyTableInitialized;
SVL_DLLPRIVATE static sal_uInt16 nSystemCurrencyPosition;
SVL_DLLPRIVATE static SvNumberFormatterRegistry_Impl* pFormatterRegistry;
@@ -651,6 +650,7 @@ public:
// return the corresponding date separator
const OUString& GetDateSep() const { return m_aCurrentLanguage.GetDateSep(); }
+ void PrepForRoMode();
const SvNFFormatData& GetROFormatData() const { return m_aFormatData; }
const SvNFLanguageData& GetROLanguageData() const { return m_aCurrentLanguage; }
};