diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 00:52:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 11:26:34 +0000 |
commit | c1e467f7999592f1144ce0c1c6563fa21f54cbbd (patch) | |
tree | 44e57f406695f87ff9c1b5d0c96b493169f5df5b /unotools/source/i18n | |
parent | 09aaa188bc9c84508f0b043eaee5eddd0ae4e3cc (diff) |
remove TransliterationWrapper::compareSubstring
Diffstat (limited to 'unotools/source/i18n')
-rw-r--r-- | unotools/source/i18n/transliterationwrapper.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/unotools/source/i18n/transliterationwrapper.cxx b/unotools/source/i18n/transliterationwrapper.cxx index eaae56b0b87f..ea7aaa856de5 100644 --- a/unotools/source/i18n/transliterationwrapper.cxx +++ b/unotools/source/i18n/transliterationwrapper.cxx @@ -217,26 +217,6 @@ sal_Bool TransliterationWrapper::equals( return sal_False; } - -sal_Int32 TransliterationWrapper::compareSubstring( - const String& rStr1, sal_Int32 nOff1, sal_Int32 nLen1, - const String& rStr2, sal_Int32 nOff2, sal_Int32 nLen2 ) const -{ - try - { - if( bFirstCall ) - loadModuleImpl(); - if ( xTrans.is() ) - return xTrans->compareSubstring( rStr1, nOff1, nLen1, rStr2, nOff2, nLen2 ); - } - catch (const Exception& e) - { - SAL_WARN( "unotools.i18n", "compareSubstring: Exception caught " << e.Message ); - } - return 0; -} - - sal_Int32 TransliterationWrapper::compareString( const String& rStr1, const String& rStr2 ) const { try |