diff options
Diffstat (limited to 'unotools/source/i18n/transliterationwrapper.cxx')
-rw-r--r-- | unotools/source/i18n/transliterationwrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/transliterationwrapper.cxx b/unotools/source/i18n/transliterationwrapper.cxx index ecaaf0c8196b..40eb5721bb71 100644 --- a/unotools/source/i18n/transliterationwrapper.cxx +++ b/unotools/source/i18n/transliterationwrapper.cxx @@ -214,7 +214,7 @@ sal_Int32 TransliterationWrapper::compareString( const OUString& rStr1, const OU bool TransliterationWrapper::isEqual( const OUString& rStr1, const OUString& rStr2 ) const { - sal_Int32 nMatch1, nMatch2; + sal_Int32 nMatch1(0), nMatch2(0); bool bMatch = equals( rStr1, 0, rStr1.getLength(), nMatch1, rStr2, 0, rStr2.getLength(), nMatch2 ); @@ -223,7 +223,7 @@ bool TransliterationWrapper::isEqual( const OUString& rStr1, const OUString& rSt bool TransliterationWrapper::isMatch( const OUString& rStr1, const OUString& rStr2 ) const { - sal_Int32 nMatch1, nMatch2; + sal_Int32 nMatch1(0), nMatch2(0); equals( rStr1, 0, rStr1.getLength(), nMatch1, rStr2, 0, rStr2.getLength(), nMatch2 ); |