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 /unotools | |
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 'unotools')
-rw-r--r-- | unotools/source/config/lingucfg.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index 7c1893b2a778..45fc0a7ac0f7 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -45,7 +45,6 @@ using namespace com::sun::star; using ::rtl::OUString; using ::rtl::Uri; -#define A2OU(x) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x )) #define EXPAND_PROTOCOL "vnd.sun.star.expand:" #define FILE_PROTOCOL "file:///" @@ -1185,8 +1184,8 @@ rtl::OUString SvtLinguConfig::GetSpellAndGrammarContextSuggestionImage( rtl::OUString aRes; if (!rServiceImplName.isEmpty()) { - rtl::OUString aImageName( A2OU( "SpellAndGrammarContextMenuSuggestionImage" )); - rtl::OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) ); + OUString aImageName( "SpellAndGrammarContextMenuSuggestionImage" ); + OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) ); aRes = aPath; } return aRes; @@ -1200,8 +1199,8 @@ rtl::OUString SvtLinguConfig::GetSpellAndGrammarContextDictionaryImage( rtl::OUString aRes; if (!rServiceImplName.isEmpty()) { - rtl::OUString aImageName( A2OU( "SpellAndGrammarContextMenuDictionaryImage" )); - rtl::OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) ); + OUString aImageName( "SpellAndGrammarContextMenuDictionaryImage" ); + OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) ); aRes = aPath; } return aRes; @@ -1214,8 +1213,8 @@ rtl::OUString SvtLinguConfig::GetSpellAndGrammarContextDictionaryImage( rtl::OUString aRes; if (!rServiceImplName.isEmpty()) { - rtl::OUString aImageName( A2OU( "SynonymsContextMenuImage" )); - rtl::OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) ); + OUString aImageName( "SynonymsContextMenuImage" ); + OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) ); aRes = aPath; } return aRes; |