summaryrefslogtreecommitdiff
path: root/i18npool/inc/collatorImpl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/inc/collatorImpl.hxx')
-rw-r--r--i18npool/inc/collatorImpl.hxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx
index 52409c59796f..b6ba6398f5df 100644
--- a/i18npool/inc/collatorImpl.hxx
+++ b/i18npool/inc/collatorImpl.hxx
@@ -47,43 +47,43 @@ public:
// Destructor
~CollatorImpl();
- virtual sal_Int32 SAL_CALL compareSubstring(const rtl::OUString& s1, sal_Int32 off1, sal_Int32 len1,
- const rtl::OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException);
+ virtual sal_Int32 SAL_CALL compareSubstring(const OUString& s1, sal_Int32 off1, sal_Int32 len1,
+ const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL compareString( const rtl::OUString& s1,
- const rtl::OUString& s2) throw(com::sun::star::uno::RuntimeException);
+ virtual sal_Int32 SAL_CALL compareString( const OUString& s1,
+ const OUString& s2) throw(com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL loadDefaultCollator( const lang::Locale& rLocale, sal_Int32 collatorOptions)
throw(com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL loadCollatorAlgorithm( const rtl::OUString& impl, const lang::Locale& rLocale,
+ virtual sal_Int32 SAL_CALL loadCollatorAlgorithm( const OUString& impl, const lang::Locale& rLocale,
sal_Int32 collatorOptions) throw(com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL loadCollatorAlgorithmWithEndUserOption( const rtl::OUString& impl, const lang::Locale& rLocale,
+ virtual void SAL_CALL loadCollatorAlgorithmWithEndUserOption( const OUString& impl, const lang::Locale& rLocale,
const com::sun::star::uno::Sequence< sal_Int32 >& collatorOptions) throw(com::sun::star::uno::RuntimeException);
- virtual com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale& rLocale )
+ virtual com::sun::star::uno::Sequence< OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale& rLocale )
throw(com::sun::star::uno::RuntimeException);
- virtual com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const rtl::OUString& collatorAlgorithmName )
+ virtual com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const OUString& collatorAlgorithmName )
throw(com::sun::star::uno::RuntimeException);
//XServiceInfo
- virtual rtl::OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException );
- virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( com::sun::star::uno::RuntimeException );
- virtual com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException );
+ virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( com::sun::star::uno::RuntimeException );
+ virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException );
protected:
lang::Locale nLocale;
private :
struct lookupTableItem {
lang::Locale aLocale;
- rtl::OUString algorithm;
- rtl::OUString service;
+ OUString algorithm;
+ OUString service;
com::sun::star::uno::Reference < XCollator > xC;
- lookupTableItem(const lang::Locale& rLocale, const rtl::OUString& _algorithm, const rtl::OUString& _service,
+ lookupTableItem(const lang::Locale& rLocale, const OUString& _algorithm, const OUString& _service,
com::sun::star::uno::Reference < XCollator >& _xC) : aLocale(rLocale), algorithm(_algorithm), service(_service), xC(_xC) {}
- sal_Bool SAL_CALL equals(const lang::Locale& rLocale, const rtl::OUString& _algorithm) {
+ sal_Bool SAL_CALL equals(const lang::Locale& rLocale, const OUString& _algorithm) {
return aLocale.Language == rLocale.Language &&
aLocale.Country == rLocale.Country &&
aLocale.Variant == rLocale.Variant &&
@@ -98,9 +98,9 @@ private :
// lang::Locale Data
com::sun::star::uno::Reference < XLocaleData4 > mxLocaleData;
- sal_Bool SAL_CALL createCollator(const lang::Locale& rLocale, const rtl::OUString& serviceName,
- const rtl::OUString& rSortAlgorithm) throw(com::sun::star::uno::RuntimeException);
- void SAL_CALL loadCachedCollator(const lang::Locale& rLocale, const rtl::OUString& rSortAlgorithm)
+ sal_Bool SAL_CALL createCollator(const lang::Locale& rLocale, const OUString& serviceName,
+ const OUString& rSortAlgorithm) throw(com::sun::star::uno::RuntimeException);
+ void SAL_CALL loadCachedCollator(const lang::Locale& rLocale, const OUString& rSortAlgorithm)
throw(com::sun::star::uno::RuntimeException);
};