diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-27 09:17:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-27 12:27:55 +0000 |
commit | 5ee84725f59e880d38ab7adb43b2a8126f2dfd65 (patch) | |
tree | 38649b95db23900ddf54779f65c0a89578e7c86f /starmath | |
parent | e48120a033daba70b4113d12b1e6745283963e39 (diff) |
mpLocSymbolData is unused
and SmLocalizedSymbolData cannot even be instantiated. It is better off
as a namespace, rather than a class.
Change-Id: I4d6daace649e3529cefe67cf18eed85f2cbfc980
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147857
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/smmod.hxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx index 9ab99c2420d7..54f339b550fb 100644 --- a/starmath/inc/smmod.hxx +++ b/starmath/inc/smmod.hxx @@ -49,23 +49,19 @@ class VirtualDevice; OUString SmResId(TranslateId aId); -class SmLocalizedSymbolData +namespace SmLocalizedSymbolData { -public: - SmLocalizedSymbolData() = delete; - - static OUString GetUiSymbolName( std::u16string_view rExportName ); - static OUString GetExportSymbolName( std::u16string_view rUiName ); + OUString GetUiSymbolName( std::u16string_view rExportName ); + OUString GetExportSymbolName( std::u16string_view rUiName ); - static OUString GetUiSymbolSetName( std::u16string_view rExportName ); - static OUString GetExportSymbolSetName( std::u16string_view rUiName ); + OUString GetUiSymbolSetName( std::u16string_view rExportName ); + OUString GetExportSymbolSetName( std::u16string_view rUiName ); }; class SmModule final : public SfxModule, public utl::ConfigurationListener { std::unique_ptr<svtools::ColorConfig> mpColorConfig; std::unique_ptr<SmMathConfig> mpConfig; - std::unique_ptr<SmLocalizedSymbolData> mpLocSymbolData; std::optional<SvtSysLocale> moSysLocale; VclPtr<VirtualDevice> mpVirtualDev; |