summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/glbltree.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 15:53:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 18:37:27 +0200
commit102a94c9de3c8c4d1326022dd14a300d6b72e222 (patch)
tree15801e979dadd1ae274ed196854925d44b33cbb6 /sw/source/uibase/utlui/glbltree.cxx
parent80d8fda9c092ea77869c7c162d0acac854a0738d (diff)
loplugin:constvars in sw
Change-Id: Ic1f11240561ba8fffc51710c9a49933c3ab3849d Reviewed-on: https://gerrit.libreoffice.org/77826 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/utlui/glbltree.cxx')
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx
index 0e7fad751d2a..9dce946dc90b 100644
--- a/sw/source/uibase/utlui/glbltree.cxx
+++ b/sw/source/uibase/utlui/glbltree.cxx
@@ -1365,7 +1365,7 @@ IMPL_LINK( SwGlobalTree, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg, vo
Sequence< OUString >aFileNames( aMedList.size() );
OUString* pFileNames = aFileNames.getArray();
sal_Int32 nPos = 0;
- for (std::unique_ptr<SfxMedium>& pMed : aMedList)
+ for (const std::unique_ptr<SfxMedium>& pMed : aMedList)
{
OUString sFileName = pMed->GetURLObject().GetMainURL( INetURLObject::DecodeMechanism::NONE )
+ OUStringLiteral1(sfx2::cTokenSeparator)