summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmlflat_imexp/xmlbas_export.cxx')
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_export.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
index 76a20aa3a5a5..6101ec60ecfd 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
@@ -153,7 +153,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
if ( xLibContainer.is() )
{
- Sequence< OUString > aLibNames = xLibContainer->getElementNames();
+ const Sequence< OUString > aLibNames = xLibContainer->getElementNames();
for ( const OUString& rLibName : aLibNames )
{
if ( xLibContainer->hasByName( rLibName ) )
@@ -229,7 +229,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
if ( xLib.is() )
{
- Sequence< OUString > aModNames = xLib->getElementNames();
+ const Sequence< OUString > aModNames = xLib->getElementNames();
for ( const OUString& rModName : aModNames )
{
if ( xLib->hasByName( rModName ) )