summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/source/mathml/mathmlexport.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/starmath/source/mathml/mathmlexport.cxx b/starmath/source/mathml/mathmlexport.cxx
index 64640ae0d96a..619082bd3758 100644
--- a/starmath/source/mathml/mathmlexport.cxx
+++ b/starmath/source/mathml/mathmlexport.cxx
@@ -544,8 +544,10 @@ void SmXMLExport::GetConfigurationSettings(Sequence<PropertyValue>& rProps)
aRet.Name = prop.Name;
OUString aActualName(prop.Name);
// handle 'save used symbols only'
+ static constexpr OUStringLiteral sUserDefinedSymbolsInUse
+ = u"UserDefinedSymbolsInUse";
if (bUsedSymbolsOnly && prop.Name == "Symbols")
- aActualName = "UserDefinedSymbolsInUse";
+ aActualName = sUserDefinedSymbolsInUse;
aRet.Value = xProps->getPropertyValue(aActualName);
}
return aRet;