diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-09-21 12:37:17 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-09-21 13:19:28 +0200 |
commit | 899522378bfb754af757c1a4a0f6bce699ac8721 (patch) | |
tree | 8f9bfa2b72aed794d43dd48029dd1ba2cc55121d /starmath/source/unomodel.cxx | |
parent | 7de4c6b95da7d187c403ee478786bb74467c1eb5 (diff) |
starmath: Rename SmSym::GetName() -> GetUiName()
To make it obvious this is the UI (localized) name.
Change-Id: Id0dbffeaa9c331ce90dee3e7fbc88f93fab1b654
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157138
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r-- | starmath/source/unomodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 0f3d5b4464e0..8348287f9350 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -867,7 +867,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu { if (pSymbol && !pSymbol->IsPredefined() && (!bUsedSymbolsOnly || - rUsedSymbols.find( pSymbol->GetName() ) != rUsedSymbols.end())) + rUsedSymbols.find( pSymbol->GetUiName() ) != rUsedSymbols.end())) aVector.push_back ( pSymbol ); } Sequence < SymbolDescriptor > aSequence ( aVector.size() ); @@ -875,7 +875,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu for (const SmSym* pSymbol : aVector) { - pDescriptor->sName = pSymbol->GetName(); + pDescriptor->sName = pSymbol->GetUiName(); pDescriptor->sExportName = pSymbol->GetExportName(); pDescriptor->sSymbolSet = pSymbol->GetSymbolSetName(); pDescriptor->nCharacter = static_cast < sal_Int32 > (pSymbol->GetCharacter()); |