summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-11-22 10:23:32 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2019-11-23 01:48:33 +0100
commit5ac711f83bc795bbcc459c9d56bf9ee91b78fd3c (patch)
tree9701b28694cdc442422303dcf6246df107575775
parent336908d5e17fa678fb5433a5dbaddc53fa1c54f7 (diff)
Use const OUString instead of const char[]
'SvtViewOptions::GetUserItem' and 'SvtViewOptions::SetUserItem' take a 'const OUString&' param anyway. Change-Id: Icdc4c578516c9fe1307b64eecdf3270142b4e823 Reviewed-on: https://gerrit.libreoffice.org/83487 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--cui/source/options/treeopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 8b7c32b051bd..f2a4fd4bb2d7 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -114,7 +114,7 @@ using namespace ::com::sun::star::util;
LastPageSaver* OfaTreeOptionsDialog::pLastPageSaver = nullptr;
// some stuff for easier changes for SvtViewOptions
-static char const VIEWOPT_DATANAME[] = "page data";
+static const OUString VIEWOPT_DATANAME = "page data";
static void SetViewOptUserItem( SvtViewOptions& rOpt, const OUString& rData )
{