diff options
Diffstat (limited to 'sfx2/source/control/templatelocalview.cxx')
-rw-r--r-- | sfx2/source/control/templatelocalview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index 4d0571eeaca1..45802f71996e 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -909,7 +909,7 @@ bool TemplateLocalView::IsInternalTemplate(const OUString& rPath) uno::Any aAny = xPathSettings->getPropertyValue("Template_internal"); aAny >>= aInternalTemplateDirs; SfxURLRelocator_Impl aRelocator(xContext); - for (auto& rInternalTemplateDir : aInternalTemplateDirs) + for (OUString& rInternalTemplateDir : asNonConstRange(aInternalTemplateDirs)) { aRelocator.makeRelocatableURL(rInternalTemplateDir); aRelocator.makeAbsoluteURL(rInternalTemplateDir); |