summaryrefslogtreecommitdiff
path: root/unotools/source/config/cmdoptions.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-10 20:44:01 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-11 14:01:05 +0100
commit407b51db1831bb2cf21def88241323e35c612005 (patch)
tree4ae9575d8c0e5b37a67408ff26ac166d9563cfdd /unotools/source/config/cmdoptions.cxx
parent0b4b37ac7bfe0a6177641f534df1afbb4a911059 (diff)
Remove RTL_CONSTASCII_STRINGPARAM (unotools)
Change-Id: I2911e50ddcd007d80498b9d65efd14368ac3baca
Diffstat (limited to 'unotools/source/config/cmdoptions.cxx')
-rw-r--r--unotools/source/config/cmdoptions.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx
index 81f41fea69d9..cbdc0345386c 100644
--- a/unotools/source/config/cmdoptions.cxx
+++ b/unotools/source/config/cmdoptions.cxx
@@ -39,17 +39,17 @@ using namespace ::osl ;
using namespace ::com::sun::star::uno ;
using namespace ::com::sun::star::beans ;
-#define ROOTNODE_CMDOPTIONS OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Commands/Execute" ))
-#define PATHDELIMITER OUString(RTL_CONSTASCII_USTRINGPARAM("/" ))
+#define ROOTNODE_CMDOPTIONS OUString("Office.Commands/Execute")
+#define PATHDELIMITER OUString("/")
-#define SETNODE_DISABLED OUString(RTL_CONSTASCII_USTRINGPARAM("Disabled" ))
+#define SETNODE_DISABLED OUString("Disabled")
-#define PROPERTYNAME_CMD OUString(RTL_CONSTASCII_USTRINGPARAM("Command" ))
+#define PROPERTYNAME_CMD OUString("Command")
// Method to retrieve a hash code from a string. May be we have to change it to decrease collisions in the hash map
struct OUStringHashCode
{
- size_t operator()( const ::rtl::OUString& sString ) const
+ size_t operator()( const OUString& sString ) const
{
return sString.hashCode();
}
@@ -235,7 +235,7 @@ SvtCommandOptions_Impl::SvtCommandOptions_Impl()
// Enable notification mechanism of ouer baseclass.
// We need it to get information about changes outside these class on ouer used configuration keys! */
Sequence< OUString > aNotifySeq( 1 );
- aNotifySeq[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( "Disabled" ));
+ aNotifySeq[0] = "Disabled";
EnableNotification( aNotifySeq, sal_True );
}