diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-02-26 20:17:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-26 19:50:19 +0000 |
commit | bee4402c7ed97f3373f93eb7939940557bd59912 (patch) | |
tree | a136d87fffdbae92b0259017aefa760e0b5e0377 /include | |
parent | 639d72e13e57cfffc857af1b9b7034c97f1f355d (diff) |
no need to hold SvtSysLocale by std::unique_ptr
allocate it inline, it is only one pointer in size
Change-Id: I736f3322784897054993fbddd423f36357f817c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147741
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/formulahelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/formula/formulahelper.hxx b/include/formula/formulahelper.hxx index f57a276fb178..e6173eb65e53 100644 --- a/include/formula/formulahelper.hxx +++ b/include/formula/formulahelper.hxx @@ -37,7 +37,7 @@ namespace formula class FORMULA_DLLPUBLIC FormulaHelper { - ::std::unique_ptr<SvtSysLocale> m_pSysLocale; + SvtSysLocale m_aSysLocale; const CharClass* m_pCharClass; const IFunctionManager* m_pFunctionManager; const sal_Unicode open; |