summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathml/mathmlexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathml/mathmlexport.cxx b/starmath/source/mathml/mathmlexport.cxx
index 0d7ba20396b8..476d384f897c 100644
--- a/starmath/source/mathml/mathmlexport.cxx
+++ b/starmath/source/mathml/mathmlexport.cxx
@@ -523,7 +523,7 @@ void SmXMLExport::GetConfigurationSettings(Sequence<PropertyValue>& rProps)
if (!xPropertySetInfo.is())
return;
- Sequence<Property> aProps = xPropertySetInfo->getProperties();
+ const Sequence<Property> aProps = xPropertySetInfo->getProperties();
const sal_Int32 nCount = aProps.getLength();
if (!nCount)
return;
@@ -533,7 +533,7 @@ void SmXMLExport::GetConfigurationSettings(Sequence<PropertyValue>& rProps)
const bool bUsedSymbolsOnly = pConfig && pConfig->IsSaveOnlyUsedSymbols();
std::transform(aProps.begin(), aProps.end(), rProps.begin(),
- [bUsedSymbolsOnly, &xProps](Property& prop) {
+ [bUsedSymbolsOnly, &xProps](const Property& prop) {
PropertyValue aRet;
if (prop.Name != "Formula" && prop.Name != "BasicLibraries"
&& prop.Name != "DialogLibraries" && prop.Name != "RuntimeUID")