summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 16:14:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:24:12 +0200
commitdc50b7f952cf339f66fcdf1ac78d7fbeb31014d4 (patch)
tree596885ca242c8a71fc4afd4958bbbc767ffa93a0 /xmlhelp
parent7841194ed70385627b9f8f88315fb1d0b5b8147c (diff)
loplugin:sequenceloop in writerfilter..xmlhelp
Change-Id: I7c9c911aa6b051eeab46344f25ea2919605de645 Reviewed-on: https://gerrit.libreoffice.org/77534 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx2
-rw-r--r--xmlhelp/source/treeview/tvread.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index 20f8b51fd861..c097c08a40b3 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -1308,7 +1308,7 @@ void ExtensionIteratorBase::implGetLanguageVectorFromPackage( ::std::vector< OUS
{
rv.clear();
OUString aExtensionPath = xPackage->getURL();
- Sequence< OUString > aEntrySeq = m_xSFA->getFolderContents( aExtensionPath, true );
+ const Sequence< OUString > aEntrySeq = m_xSFA->getFolderContents( aExtensionPath, true );
for( const OUString& aEntry : aEntrySeq )
{
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx
index 1aacebcf8768..4ae8f7a0aff8 100644
--- a/xmlhelp/source/treeview/tvread.cxx
+++ b/xmlhelp/source/treeview/tvread.cxx
@@ -1018,7 +1018,7 @@ void ExtensionIteratorBase::implGetLanguageVectorFromPackage( ::std::vector< OUS
{
rv.clear();
OUString aExtensionPath = xPackage->getURL();
- Sequence< OUString > aEntrySeq = m_xSFA->getFolderContents( aExtensionPath, true );
+ const Sequence< OUString > aEntrySeq = m_xSFA->getFolderContents( aExtensionPath, true );
for( const OUString& aEntry : aEntrySeq )
{