cui/source/options/treeopt.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit b33b441341abcdaa6e208bee7f0af528620055c5 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Nov 25 16:31:10 2016 +0100 Use string literal directly, instead of going via createFromAscii Change-Id: I2099575ef0041c818424a85a0ef6daa2cc3fdf72 diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 3c2cd5b..2f59464 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -118,8 +118,7 @@ using namespace ::com::sun::star::util; LastPageSaver* OfaTreeOptionsDialog::pLastPageSaver = nullptr; // some stuff for easier changes for SvtViewOptions -static const sal_Char* pViewOptDataName = "page data"; -#define VIEWOPT_DATANAME OUString::createFromAscii( pViewOptDataName ) +static char const VIEWOPT_DATANAME[] = "page data"; static inline void SetViewOptUserItem( SvtViewOptions& rOpt, const OUString& rData ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits