diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-01-30 11:44:23 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-30 12:54:40 +0000 |
commit | 97eb8a6e0eb830f37dcba64a51d725aab4c5ff53 (patch) | |
tree | a1a95b8249052d846a997ad1729758168d6a3b24 /svx/source/unodialogs | |
parent | f8569cd9a28a3a8856dba4ad53218aa6cc073521 (diff) |
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'svx/source/unodialogs')
-rw-r--r-- | svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx index b766059962cc..119fdd3be16e 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx @@ -43,7 +43,7 @@ using namespace ::com::sun::star; #define SERVICE_IMPLEMENTATION_NAME ::rtl::OUString("com.sun.star.comp.linguistic2.ChineseTranslationDialog") #define SERVICE_NAME ::rtl::OUString("com.sun.star.linguistic2.ChineseTranslationDialog") -#define C2U(cChar) rtl::OUString::createFromAscii(cChar) +#define cChar rtl::OUString::createFromAscii(cChar) ChineseTranslation_UnoDialog::ChineseTranslation_UnoDialog( const uno::Reference< uno::XComponentContext >& xContext ) : m_xCC( xContext ) @@ -233,15 +233,15 @@ uno::Any SAL_CALL ChineseTranslation_UnoDialog::getPropertyValue( const ::rtl::O m_pDialog->getSettings( bDirectionToSimplified, bTranslateCommonTerms ); } - if( rPropertyName.equals( C2U("IsDirectionToSimplified") ) ) + if( rPropertyName.equals( "IsDirectionToSimplified" ) ) { aRet <<= bDirectionToSimplified; } - else if( rPropertyName.equals( C2U("IsUseCharacterVariants") ) ) + else if( rPropertyName.equals( "IsUseCharacterVariants" ) ) { aRet <<= bUseCharacterVariants; } - else if( rPropertyName.equals( C2U("IsTranslateCommonTerms") ) ) + else if( rPropertyName.equals( "IsTranslateCommonTerms" ) ) { aRet <<= bTranslateCommonTerms; } |