diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-12 08:21:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-15 14:05:41 +0000 |
commit | 6e72f0251bb8767942edf74f612547c12ca0cdf1 (patch) | |
tree | 0785de1a2f8995d1d4ede7889541bda9b59f893f /i18npool/inc | |
parent | 7da80de2c75e048a08ea6e923a9f433a638a9f12 (diff) |
new loplugin unnecessary override
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb
Reviewed-on: https://gerrit.libreoffice.org/27135
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/transliteration_OneToOne.hxx | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/i18npool/inc/transliteration_OneToOne.hxx b/i18npool/inc/transliteration_OneToOne.hxx index 2ef7c973481c..98b380aa8a14 100644 --- a/i18npool/inc/transliteration_OneToOne.hxx +++ b/i18npool/inc/transliteration_OneToOne.hxx @@ -74,11 +74,33 @@ public: \ }; TRANSLITERATION_ONETOONE( fullwidthToHalfwidth ) -TRANSLITERATION_ONETOONE(halfwidthToFullwidth) TRANSLITERATION_ONETOONE( fullwidthKatakanaToHalfwidthKatakana ) -TRANSLITERATION_ONETOONE(halfwidthKatakanaToFullwidthKatakana) TRANSLITERATION_ONETOONE( fullwidthToHalfwidthLikeASC ) -TRANSLITERATION_ONETOONE( halfwidthToFullwidthLikeJIS ) + +class halfwidthToFullwidth : public transliteration_OneToOne +{ +public: + halfwidthToFullwidth(); + OUString SAL_CALL + transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) + throw(css::uno::RuntimeException, std::exception) override; +}; +class halfwidthKatakanaToFullwidthKatakana : public transliteration_OneToOne +{ +public: + halfwidthKatakanaToFullwidthKatakana(); + OUString SAL_CALL + transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) + throw(css::uno::RuntimeException, std::exception) override; +}; +class halfwidthToFullwidthLikeJIS : public transliteration_OneToOne +{ +public: + halfwidthToFullwidthLikeJIS(); + OUString SAL_CALL + transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) + throw(css::uno::RuntimeException, std::exception) override; +}; #undef TRANSLITERATION_ONETOONE |