summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-07-31 14:31:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-31 19:16:06 +0200
commit9ae4f8b5bf70a693ffb60ceac4f9625cf15b1181 (patch)
treec8b0e773f467325595bcc7d8a40c744ab6768430 /sfx2/source
parentca7dab5d96e73b7b4b045e2460e0b2ee150757db (diff)
getArray->getConstArray
Change-Id: I951dd4a02c9ead98e7eb13ae2995ba2e1e57b38a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119740 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/doctemplates.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index b1273c0b53c6..9670f7d4c2f6 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -1111,7 +1111,7 @@ void SfxDocTplService_Impl::doUpdate()
// get the entries from the template directories
sal_Int32 nCountDir = maTemplateDirs.getLength();
- OUString* pDirs = maTemplateDirs.getArray();
+ const OUString* pDirs = maTemplateDirs.getConstArray();
Content aDirContent;
// the last directory in the list must be writable