diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-11 22:40:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-12 15:14:21 +0200 |
commit | ec91e33eaa21d3771406a55a159a2963bcb994b3 (patch) | |
tree | 7b89b8abf087c4e7349dcd912707005be5e6227b /svl | |
parent | d4a9dae1eb6bbafa1c08939fc50eb3dd85cd7803 (diff) |
fold OnDemandNativeNumberWrapper ctor and init together
Change-Id: I79e2cb4c81a2bbac4da16ece778e4ad3acc59eb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166025
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index e8f3331916d7..be23893d2571 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -415,8 +415,8 @@ SvNumberFormatter::SvNumberFormatter( const Reference< XComponentContext >& rxCo , IniLnge(eLang != LANGUAGE_DONTKNOW ? eLang : UNKNOWN_SUBSTITUTE) , m_aRWPolicy(SvNFEngine::GetRWPolicy(m_aFormatData)) , m_aCurrentLanguage(rxContext, IniLnge, *this) + , m_xNatNum(m_xContext) { - xNatNum.init( m_xContext ); // 0 .. 999 for initialized language formats m_aFormatData.ImpGenerateFormats(m_aCurrentLanguage, GetNatNum(), 0, false); @@ -624,7 +624,7 @@ const css::uno::Reference<css::uno::XComponentContext>& SvNumberFormatter::GetCo return m_xContext; } -const NativeNumberWrapper& SvNumberFormatter::GetNatNum() const { return xNatNum.get(); } +const NativeNumberWrapper& SvNumberFormatter::GetNatNum() const { return m_xNatNum.get(); } bool SvNFFormatData::IsTextFormat(sal_uInt32 F_Index) const { |