summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/cfgitem.cxx2
-rw-r--r--starmath/source/unomodel.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 4636df044b08..a8f246423c21 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -559,7 +559,7 @@ void SmMathConfig::LoadFontFormatList()
else
pFontFormatList->Clear();
- Sequence< OUString > aNodes( GetNodeNames( FONT_FORMAT_LIST ) );
+ const Sequence< OUString > aNodes( GetNodeNames( FONT_FORMAT_LIST ) );
for (const OUString& rNode : aNodes)
{
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 8f200542829e..c271f079d9d3 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -638,7 +638,7 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any*
SmModule *pp = SM_MOD();
SmSymbolManager &rManager = pp->GetSymbolManager();
- for (const SymbolDescriptor& rDescriptor : aSequence)
+ for (const SymbolDescriptor& rDescriptor : std::as_const(aSequence))
{
vcl::Font aFont;
aFont.SetFamilyName ( rDescriptor.sFontName );