diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-25 16:31:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-25 16:31:17 +0100 |
commit | b33b441341abcdaa6e208bee7f0af528620055c5 (patch) | |
tree | a9e20ae14d9007eaf08b57a25d33df530c5ed86e /cui | |
parent | c3da6e3844b974d7f3c60f6dd3f66c3aac519a68 (diff) |
Use string literal directly, instead of going via createFromAscii
Change-Id: I2099575ef0041c818424a85a0ef6daa2cc3fdf72
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 3c2cd5b49502..2f59464e493e 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 ) { |