diff options
Diffstat (limited to 'i18npool/inc/indexentrysupplier_common.hxx')
-rw-r--r-- | i18npool/inc/indexentrysupplier_common.hxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/i18npool/inc/indexentrysupplier_common.hxx b/i18npool/inc/indexentrysupplier_common.hxx index f92b8151ccfb..9c9f11b9238d 100644 --- a/i18npool/inc/indexentrysupplier_common.hxx +++ b/i18npool/inc/indexentrysupplier_common.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,11 +36,11 @@ namespace com { namespace sun { namespace star { namespace i18n { -// ---------------------------------------------------- -// class IndexEntrySupplier_Common -// ---------------------------------------------------- +// ---------------------------------------------------- +// class IndexEntrySupplier_Common +// ---------------------------------------------------- -class IndexEntrySupplier_Common : public cppu::WeakImplHelper2 +class IndexEntrySupplier_Common : public cppu::WeakImplHelper2 < com::sun::star::i18n::XExtendedIndexEntrySupplier, com::sun::star::lang::XServiceInfo @@ -50,33 +50,33 @@ public: IndexEntrySupplier_Common( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF ); ~IndexEntrySupplier_Common(); - virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList() + virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList() throw (com::sun::star::uno::RuntimeException); - virtual com::sun::star::uno::Sequence < rtl::OUString > SAL_CALL getAlgorithmList( + virtual com::sun::star::uno::Sequence < rtl::OUString > SAL_CALL getAlgorithmList( const com::sun::star::lang::Locale& rLocale ) throw (com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL usePhoneticEntry( - const com::sun::star::lang::Locale& rLocale ) + const com::sun::star::lang::Locale& rLocale ) throw (com::sun::star::uno::RuntimeException); virtual rtl::OUString SAL_CALL getPhoneticCandidate( const rtl::OUString& IndexEntry, - const com::sun::star::lang::Locale& rLocale ) + const com::sun::star::lang::Locale& rLocale ) throw (com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL loadAlgorithm( + virtual sal_Bool SAL_CALL loadAlgorithm( const com::sun::star::lang::Locale& rLocale, - const rtl::OUString& SortAlgorithm, sal_Int32 collatorOptions ) + const rtl::OUString& SortAlgorithm, sal_Int32 collatorOptions ) throw (com::sun::star::uno::RuntimeException); virtual rtl::OUString SAL_CALL getIndexKey( const rtl::OUString& IndexEntry, - const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ) + const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ) throw (com::sun::star::uno::RuntimeException); virtual sal_Int16 SAL_CALL compareIndexEntry( const rtl::OUString& IndexEntry1, const rtl::OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1, - const rtl::OUString& IndexEntry2, const ::rtl::OUString& PhoneticEntry2, + const rtl::OUString& IndexEntry2, const ::rtl::OUString& PhoneticEntry2, const com::sun::star::lang::Locale& rLocale2 ) throw (com::sun::star::uno::RuntimeException); @@ -85,15 +85,15 @@ public: throw (com::sun::star::uno::RuntimeException); virtual rtl::OUString SAL_CALL getIndexFollowPageWord( sal_Bool MorePages, - const com::sun::star::lang::Locale& rLocale ) + const com::sun::star::lang::Locale& rLocale ) throw (com::sun::star::uno::RuntimeException); //XServiceInfo - virtual rtl::OUString SAL_CALL getImplementationName() + virtual rtl::OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException ); - virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) + 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() + virtual com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException ); protected: @@ -101,7 +101,7 @@ protected: sal_Bool usePhonetic; CollatorImpl *collator; const rtl::OUString& SAL_CALL getEntry( const rtl::OUString& IndexEntry, - const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ) + const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ) throw (com::sun::star::uno::RuntimeException); com::sun::star::lang::Locale aLocale; rtl::OUString aAlgorithm; |