summaryrefslogtreecommitdiff
path: root/unotools/source/config/optionsdlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:38:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:37 +0100
commit994cc6c8689f7186193ce504c92fc2bc2fdcb560 (patch)
tree66d0fa003eec442e3ed335c428a64238e842853d /unotools/source/config/optionsdlg.cxx
parent484401bb5e2aaea5cb1645743ed615f4166b6cda (diff)
unotools: Use appropriate OUString functions on string constants
Change-Id: I9762f913080b4bad0d9cd3d1c1b42b333b08f27e
Diffstat (limited to 'unotools/source/config/optionsdlg.cxx')
-rw-r--r--unotools/source/config/optionsdlg.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx
index afe61b806a8b..d831914fc5f8 100644
--- a/unotools/source/config/optionsdlg.cxx
+++ b/unotools/source/config/optionsdlg.cxx
@@ -32,10 +32,9 @@ using namespace com::sun::star::beans;
using namespace com::sun::star::uno;
#define CFG_FILENAME OUString( "Office.OptionsDialog" )
-#define ROOT_NODE OUString( "OptionsDialogGroups" )
-#define PAGES_NODE OUString( "Pages" )
-#define OPTIONS_NODE OUString( "Options" )
-#define PROPERTY_HIDE OUString( "Hide" )
+#define ROOT_NODE "OptionsDialogGroups"
+#define PAGES_NODE "Pages"
+#define OPTIONS_NODE "Options"
static SvtOptionsDlgOptions_Impl* pOptions = NULL;
static sal_Int32 nRefCount = 0;
@@ -135,7 +134,7 @@ void SvtOptionsDlgOptions_Impl::ReadNode( const OUString& _rNode, NodeType _eTyp
}
Sequence< OUString > lResult( nLen );
- lResult[0] = OUString( sNode + PROPERTY_HIDE );
+ lResult[0] = OUString( sNode + "Hide" );
if ( _eType != NT_Option )
lResult[1] = OUString( sNode + sSet );
@@ -162,15 +161,15 @@ void SvtOptionsDlgOptions_Impl::ReadNode( const OUString& _rNode, NodeType _eTyp
OUString getGroupPath( const OUString& _rGroup )
{
- return OUString( ROOT_NODE + "/" + _rGroup + "/" );
+ return OUString( ROOT_NODE "/" + _rGroup + "/" );
}
OUString getPagePath( const OUString& _rPage )
{
- return OUString( PAGES_NODE + "/" + _rPage + "/" );
+ return OUString( PAGES_NODE "/" + _rPage + "/" );
}
OUString getOptionPath( const OUString& _rOption )
{
- return OUString( OPTIONS_NODE + "/" + _rOption + "/" );
+ return OUString( OPTIONS_NODE "/" + _rOption + "/" );
}
bool SvtOptionsDlgOptions_Impl::IsHidden( const OUString& _rPath ) const