diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:34:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:34 +0100 |
commit | e5bd0f8b0a83f5c7f0f204adc081b102c765ca8e (patch) | |
tree | 751a73bbec4ee754df3ec7d3f9c9512829ab2ee9 /svx/source/unodialogs | |
parent | 7c6aa647e83b4989fcaecd4a4d81361c06a3f3d4 (diff) |
svx: Use appropriate OUString functions on string constants
Change-Id: I54931168bfc18c9ce41babdcf535ebc1bcc72c5e
Diffstat (limited to 'svx/source/unodialogs')
-rw-r--r-- | svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx index 1b8645595bd4..0de8dbbf73cf 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx @@ -213,15 +213,15 @@ uno::Any SAL_CALL ChineseTranslation_UnoDialog::getPropertyValue( const OUString m_pDialog->getSettings( bDirectionToSimplified, bTranslateCommonTerms ); } - if( rPropertyName.equals( "IsDirectionToSimplified" ) ) + if( rPropertyName == "IsDirectionToSimplified" ) { aRet <<= bDirectionToSimplified; } - else if( rPropertyName.equals( "IsUseCharacterVariants" ) ) + else if( rPropertyName == "IsUseCharacterVariants" ) { aRet <<= bUseCharacterVariants; } - else if( rPropertyName.equals( "IsTranslateCommonTerms" ) ) + else if( rPropertyName == "IsTranslateCommonTerms" ) { aRet <<= bTranslateCommonTerms; } |