diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx index 36131848c403..3c94a3a24bf3 100644 --- a/extensions/source/propctrlr/propertyeditor.cxx +++ b/extensions/source/propctrlr/propertyeditor.cxx @@ -79,7 +79,7 @@ namespace pcr void OPropertyEditor::CommitModified() { // commit all of my pages, if necessary - for (auto& page : m_aShownPages) + for (const auto& page : m_aShownPages) { OBrowserPage* pPage = page.second.xPage.get(); if (pPage && pPage->getListBox().IsModified() ) @@ -318,7 +318,7 @@ namespace pcr void OPropertyEditor::EnablePropertyControls( const OUString& rEntryName, sal_Int16 nControls, bool bEnable ) { - for (auto& rPage : m_aShownPages) + for (const auto& rPage : m_aShownPages) { OBrowserPage* pPage = rPage.second.xPage.get(); if (pPage) @@ -328,7 +328,7 @@ namespace pcr void OPropertyEditor::EnablePropertyLine( const OUString& rEntryName, bool bEnable ) { - for (auto& rPage : m_aShownPages) + for (const auto& rPage : m_aShownPages) { OBrowserPage* pPage = rPage.second.xPage.get(); if (pPage) |