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>
This commit is contained in:
Noel Grandin 2023-02-27 09:17:03 +02:00
parent e48120a033
commit 5ee84725f5

View file

@ -49,23 +49,19 @@ class VirtualDevice;
OUString SmResId(TranslateId aId);
class SmLocalizedSymbolData
namespace SmLocalizedSymbolData
{
public:
SmLocalizedSymbolData() = delete;
OUString GetUiSymbolName( std::u16string_view rExportName );
OUString GetExportSymbolName( std::u16string_view rUiName );
static OUString GetUiSymbolName( std::u16string_view rExportName );
static 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;