summaryrefslogtreecommitdiff
path: root/linguistic/source/convdicxml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/convdicxml.cxx')
-rw-r--r--linguistic/source/convdicxml.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index 9b409bd3a63c..4bd17fce3c9a 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -71,12 +71,12 @@ static const OUString ConversionTypeToText( sal_Int16 nConversionType )
return aRes;
}
-static sal_Int16 GetConversionTypeFromText( const String &rText )
+static sal_Int16 GetConversionTypeFromText( const OUString &rText )
{
sal_Int16 nRes = -1;
- if (rText.EqualsAscii( CONV_TYPE_HANGUL_HANJA ))
+ if (rText == CONV_TYPE_HANGUL_HANJA)
nRes = ConversionDictionaryType::HANGUL_HANJA;
- else if (rText.EqualsAscii( CONV_TYPE_SCHINESE_TCHINESE ))
+ else if (rText == CONV_TYPE_SCHINESE_TCHINESE)
nRes = ConversionDictionaryType::SCHINESE_TCHINESE;
return nRes;
}