diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-01 09:39:35 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-01 09:41:50 -0500 |
commit | df9ecb71c7b2622a082849b556dba5008d271b6a (patch) | |
tree | 3b111d581fdddc854ffb8b28fd86b7561ca16be2 /dtrans/source/win32/ftransl/ftransl.cxx | |
parent | a30795ce516b273a3a56a136b9b8802a23dd632a (diff) |
targeted string re-work
Change-Id: I44518bb1b464bb0b458c0b5f1c249ef160ea3b26
Diffstat (limited to 'dtrans/source/win32/ftransl/ftransl.cxx')
-rw-r--r-- | dtrans/source/win32/ftransl/ftransl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index 7bd6966f3477..c73ab121af7e 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -55,10 +55,10 @@ #define CPPUTYPE_DEFAULT CPPUTYPE_SEQSALINT8 #define CPPUTYPE_OUSTR getCppuType( (const ::rtl::OUString*) 0 ) #define CPPUTYPE_SALINT32 getCppuType( ( sal_Int32 * ) 0 ) -#define OUSTR( str ) OUString(RTL_CONSTASCII_USTRINGPARAM( #str )) +#define OUSTR( str ) OUString( #str ) #define EMPTY_OUSTR OUString() -const rtl::OUString Windows_FormatName (RTL_CONSTASCII_USTRINGPARAM("windows_formatname")); +const rtl::OUString Windows_FormatName ("windows_formatname"); const com::sun::star::uno::Type CppuType_ByteSequence = ::getCppuType((const com::sun::star::uno::Sequence<sal_Int8>*)0); const com::sun::star::uno::Type CppuType_String = ::getCppuType((const ::rtl::OUString*)0); @@ -84,7 +84,7 @@ namespace MODULE_PRIVATE Sequence< OUString > SAL_CALL DataFormatTranslator_getSupportedServiceNames( ) { Sequence< OUString > aRet(1); - aRet[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.datatransfer.DataFormatTranslator")); + aRet[0] = OUString("com.sun.star.datatransfer.DataFormatTranslator"); return aRet; } } @@ -231,7 +231,7 @@ DataFlavor SAL_CALL CDataFormatTranslator::getDataFlavorFromSystemDataType( cons OUString SAL_CALL CDataFormatTranslator::getImplementationName( ) throw( RuntimeException ) { - return OUString(RTL_CONSTASCII_USTRINGPARAM( IMPL_NAME )); + return OUString( IMPL_NAME ); } // ------------------------------------------------- |