From 1475618fda02a0a2988ca5b9b7979b160399e168 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 30 Jan 2013 14:03:02 +0100 Subject: remove useless macros created by incorrect replacements in the previous commit Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708 --- svx/source/dialog/rubydialog.cxx | 2 -- svx/source/dialog/svxbmpnumvalueset.cxx | 1 - svx/source/smarttags/SmartTagMgr.cxx | 2 -- svx/source/table/accessibletableshape.cxx | 2 -- .../unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx | 2 -- 5 files changed, 9 deletions(-) (limited to 'svx/source') diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 6b1e52352ba6..da49fde52883 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -51,8 +51,6 @@ using namespace com::sun::star::lang; using namespace com::sun::star::container; using rtl::OUString; -#define cChar rtl::OUString::createFromAscii(cChar) - SFX_IMPL_CHILDWINDOW( SvxRubyChildWindow, SID_RUBY_DIALOG ); static const sal_Char cRubyBaseText[] = "RubyBaseText"; diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index 05be4aa986c9..c4d7dac76e9a 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -64,7 +64,6 @@ using namespace com::sun::star::container; using namespace com::sun::star::style; using rtl::OUString; -#define cChar OUString::createFromAscii(cChar) #define NUM_PAGETYPE_BULLET 0 #define NUM_PAGETYPE_SINGLENUM 1 #define NUM_PAGETYPE_NUM 2 diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx index a5eb25d39963..5bd9f7ba0cbc 100644 --- a/svx/source/smarttags/SmartTagMgr.cxx +++ b/svx/source/smarttags/SmartTagMgr.cxx @@ -48,8 +48,6 @@ using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::i18n; -#define cChar rtl::OUString::createFromAscii(cChar) - SmartTagMgr::SmartTagMgr( const rtl::OUString& rApplicationName ) : maApplicationName( rApplicationName ), diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index 00ca92be5a14..0cb973192fb6 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -47,8 +47,6 @@ using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::table; using namespace ::com::sun::star::container; -#define x OUString(RTL_CONSTASCII_USTRINGPARAM(x)) - namespace accessibility { diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx index 119fdd3be16e..9284d4c50eb2 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx @@ -43,8 +43,6 @@ 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 cChar rtl::OUString::createFromAscii(cChar) - ChineseTranslation_UnoDialog::ChineseTranslation_UnoDialog( const uno::Reference< uno::XComponentContext >& xContext ) : m_xCC( xContext ) , m_xParentWindow( 0 ) -- cgit v1.2.3