diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-01-29 21:56:21 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-01-30 12:23:34 +0400 |
commit | 93236fcdf26838ad48e88402020c11de47ce91af (patch) | |
tree | 33ac68dfce25a1b966eab62608a9f9976c83b3b1 /sw/source/ui/uno/swdetect.cxx | |
parent | 9cde190a46af066a2d64caf47a50326b26a8f4fc (diff) |
remove '#define UNOOUSTRING ::rtl::OUString'
Diffstat (limited to 'sw/source/ui/uno/swdetect.cxx')
-rw-r--r-- | sw/source/ui/uno/swdetect.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/uno/swdetect.cxx b/sw/source/ui/uno/swdetect.cxx index cf4d6135ac91..bcba59fe8340 100644 --- a/sw/source/ui/uno/swdetect.cxx +++ b/sw/source/ui/uno/swdetect.cxx @@ -426,16 +426,16 @@ SwFilterDetect::~SwFilterDetect() SFX_IMPL_SINGLEFACTORY( SwFilterDetect ) /* XServiceInfo */ -UNOOUSTRING SAL_CALL SwFilterDetect::getImplementationName() throw( UNORUNTIMEEXCEPTION ) +rtl::OUString SAL_CALL SwFilterDetect::getImplementationName() throw( UNORUNTIMEEXCEPTION ) { return impl_getStaticImplementationName(); } \ /* XServiceInfo */ -sal_Bool SAL_CALL SwFilterDetect::supportsService( const UNOOUSTRING& sServiceName ) throw( UNORUNTIMEEXCEPTION ) +sal_Bool SAL_CALL SwFilterDetect::supportsService( const rtl::OUString& sServiceName ) throw( UNORUNTIMEEXCEPTION ) { - UNOSEQUENCE< UNOOUSTRING > seqServiceNames = getSupportedServiceNames(); - const UNOOUSTRING* pArray = seqServiceNames.getConstArray(); + UNOSEQUENCE< rtl::OUString > seqServiceNames = getSupportedServiceNames(); + const rtl::OUString* pArray = seqServiceNames.getConstArray(); for ( sal_Int32 nCounter=0; nCounter<seqServiceNames.getLength(); nCounter++ ) { if ( pArray[nCounter] == sServiceName ) @@ -447,15 +447,15 @@ sal_Bool SAL_CALL SwFilterDetect::supportsService( const UNOOUSTRING& sServiceNa } /* XServiceInfo */ -UNOSEQUENCE< UNOOUSTRING > SAL_CALL SwFilterDetect::getSupportedServiceNames() throw( UNORUNTIMEEXCEPTION ) +UNOSEQUENCE< rtl::OUString > SAL_CALL SwFilterDetect::getSupportedServiceNames() throw( UNORUNTIMEEXCEPTION ) { return impl_getStaticSupportedServiceNames(); } /* Helper for XServiceInfo */ -UNOSEQUENCE< UNOOUSTRING > SwFilterDetect::impl_getStaticSupportedServiceNames() +UNOSEQUENCE< rtl::OUString > SwFilterDetect::impl_getStaticSupportedServiceNames() { - UNOSEQUENCE< UNOOUSTRING > seqServiceNames( 3 ); + UNOSEQUENCE< rtl::OUString > seqServiceNames( 3 ); seqServiceNames.getArray() [0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.frame.ExtendedTypeDetection" )); seqServiceNames.getArray() [1] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.text.FormatDetector" )); seqServiceNames.getArray() [2] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.text.W4WFormatDetector" )); @@ -463,7 +463,7 @@ UNOSEQUENCE< UNOOUSTRING > SwFilterDetect::impl_getStaticSupportedServiceNames() } /* Helper for XServiceInfo */ -UNOOUSTRING SwFilterDetect::impl_getStaticImplementationName() +rtl::OUString SwFilterDetect::impl_getStaticImplementationName() { return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.writer.FormatDetector" )); } |