diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-22 18:55:06 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-24 15:43:22 +0100 |
commit | c519f73674f540fbc02be0fe7b73b3b194da558e (patch) | |
tree | 4bd026fdf4544b62344acfe3383c1f612318669e /scaddins | |
parent | 0f93c62a850286a1dd395e14b18b32fea51b1334 (diff) |
Replace suitable equalsAscii calls with equalsAsciiL.
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 68f26f3b81de..8d6655d8c13b 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -428,8 +428,8 @@ OUString SAL_CALL ScaDateAddIn::getImplementationName() throw( uno::RuntimeExcep sal_Bool SAL_CALL ScaDateAddIn::supportsService( const OUString& aServiceName ) throw( uno::RuntimeException ) { - return aServiceName.equalsAscii( ADDIN_SERVICE ) || - aServiceName.equalsAscii( MY_SERVICE ); + return aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( ADDIN_SERVICE ) ) || + aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( MY_SERVICE ) ); } uno::Sequence< OUString > SAL_CALL ScaDateAddIn::getSupportedServiceNames() throw( uno::RuntimeException ) |