From 9ae4f8b5bf70a693ffb60ceac4f9625cf15b1181 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 31 Jul 2021 14:31:49 +0200 Subject: getArray->getConstArray Change-Id: I951dd4a02c9ead98e7eb13ae2995ba2e1e57b38a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119740 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/doc/doctemplates.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source') 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 -- cgit