summaryrefslogtreecommitdiff
path: root/i18npool/inc/transliteration_commonclass.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /i18npool/inc/transliteration_commonclass.hxx
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'i18npool/inc/transliteration_commonclass.hxx')
-rw-r--r--i18npool/inc/transliteration_commonclass.hxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/i18npool/inc/transliteration_commonclass.hxx b/i18npool/inc/transliteration_commonclass.hxx
index 77fa9a3e6ee8..feb72cc1dc69 100644
--- a/i18npool/inc/transliteration_commonclass.hxx
+++ b/i18npool/inc/transliteration_commonclass.hxx
@@ -39,72 +39,72 @@ public:
// Methods which are shared.
void SAL_CALL
loadModule( TransliterationModules modName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
void SAL_CALL
loadModuleNew( const com::sun::star::uno::Sequence< TransliterationModulesNew >& modName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
void SAL_CALL
loadModuleByImplName( const OUString& implName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
void SAL_CALL
loadModulesByImplNames(const com::sun::star::uno::Sequence< OUString >& modNamelist, const com::sun::star::lang::Locale& rLocale)
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
com::sun::star::uno::Sequence< OUString > SAL_CALL
getAvailableModules( const com::sun::star::lang::Locale& rLocale, sal_Int16 sType )
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Methods which should be implemented in each transliteration module.
- virtual OUString SAL_CALL getName() throw(com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getName() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Int16 SAL_CALL getType( ) throw(com::sun::star::uno::RuntimeException, std::exception) = 0;
+ virtual sal_Int16 SAL_CALL getType( ) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
virtual OUString SAL_CALL
transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw(com::sun::star::uno::RuntimeException, std::exception) = 0;
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
virtual OUString SAL_CALL
folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset)
- throw(com::sun::star::uno::RuntimeException, std::exception) = 0;
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
// Methods in XExtendedTransliteration
virtual OUString SAL_CALL
transliterateString2String( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount )
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL
transliterateChar2String( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Unicode SAL_CALL
transliterateChar2Char( sal_Unicode inChar )
throw(com::sun::star::i18n::MultipleCharsOutputException,
- com::sun::star::uno::RuntimeException, std::exception) = 0;
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
virtual sal_Bool SAL_CALL
equals( const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) = 0;
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
virtual com::sun::star::uno::Sequence< OUString > SAL_CALL
transliterateRange( const OUString& str1, const OUString& str2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) = 0;
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
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, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL
compareString( const OUString& s1, const OUString& s2)
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception );
+ throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception );
+ throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception );
+ throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
protected:
com::sun::star::lang::Locale aLocale;
const sal_Char* transliterationName;