summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLPageExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/XMLPageExport.cxx')
-rw-r--r--xmloff/source/style/XMLPageExport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLPageExport.cxx b/xmloff/source/style/XMLPageExport.cxx
index 64c7645e4980..4baa8a43f24c 100644
--- a/xmloff/source/style/XMLPageExport.cxx
+++ b/xmloff/source/style/XMLPageExport.cxx
@@ -199,7 +199,7 @@ void XMLPageExport::exportStyles( bool bUsed, bool bAutoStyles )
{
if( xPageStyles.is() )
{
- uno::Sequence< OUString> aSeq = xPageStyles->getElementNames();
+ const uno::Sequence< OUString> aSeq = xPageStyles->getElementNames();
for(const auto& rName : aSeq)
{
Reference< XStyle > xStyle(xPageStyles->getByName( rName ),uno::UNO_QUERY);