summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appserv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/appserv.cxx')
-rw-r--r--sfx2/source/appl/appserv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index fc9c5b08fc52..88a2cd388c16 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -895,7 +895,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
}
// Backup visible toolbar list and hide all toolbars
- Sequence<Reference<XUIElement>> aUIElements = xLayoutManager->getElements();
+ const Sequence<Reference<XUIElement>> aUIElements = xLayoutManager->getElements();
for ( const Reference< XUIElement >& xUIElement : aUIElements )
{
Reference< XPropertySet > xPropertySet( xUIElement, UNO_QUERY );