diff options
Diffstat (limited to 'starmath/source/symbol.cxx')
-rw-r--r-- | starmath/source/symbol.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx index d07bf42b6816..899380b7bd8a 100644 --- a/starmath/source/symbol.cxx +++ b/starmath/source/symbol.cxx @@ -258,8 +258,7 @@ void SmSymbolManager::Load() } // now add a %i... symbol to the 'iGreek' set for every symbol found in the 'Greek' set. - SmLocalizedSymbolData aLocalizedData; - const OUString aGreekSymbolSetName(aLocalizedData.GetUiSymbolSetName(OUString("Greek"))); + const OUString aGreekSymbolSetName(SmLocalizedSymbolData::GetUiSymbolSetName(OUString("Greek"))); const SymbolPtrVec_t aGreekSymbols( GetSymbolSet( aGreekSymbolSetName ) ); OUString aSymbolSetName('i'); aSymbolSetName += aGreekSymbolSetName; @@ -287,9 +286,8 @@ void SmSymbolManager::Save() SmMathConfig &rCfg = *SM_MOD()->GetConfig(); // prepare to skip symbols from iGreek on saving - SmLocalizedSymbolData aLocalizedData; OUString aSymbolSetName('i'); - aSymbolSetName += aLocalizedData.GetUiSymbolSetName(OUString("Greek")); + aSymbolSetName += SmLocalizedSymbolData::GetUiSymbolSetName(OUString("Greek")); SymbolPtrVec_t aTmp( GetSymbols() ); std::vector< SmSym > aSymbols; |