cui/source/options/treeopt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5ac711f83bc795bbcc459c9d56bf9ee91b78fd3c
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Nov 22 10:23:32 2019 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Sat Nov 23 01:48:33 2019 +0100

    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.wegh...@posteo.de>

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 )
 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to