summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-01-30 14:03:02 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-30 14:03:45 +0100
commit1475618fda02a0a2988ca5b9b7979b160399e168 (patch)
tree0aa01f196917b5c98c61b8df536c1318059b4691
parent97eb8a6e0eb830f37dcba64a51d725aab4c5ff53 (diff)
remove useless macros
created by incorrect replacements in the previous commit Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708
-rw-r--r--chart2/source/inc/macros.hxx3
-rw-r--r--editeng/source/editeng/textconv.cxx2
-rw-r--r--filter/source/msfilter/msocximex.cxx2
-rw-r--r--sccomp/source/solver/solver.cxx2
-rw-r--r--svtools/source/config/colorcfg.cxx1
-rw-r--r--svtools/source/config/fontsubstconfig.cxx2
-rw-r--r--svtools/source/config/htmlcfg.cxx2
-rw-r--r--svx/source/dialog/rubydialog.cxx2
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx1
-rw-r--r--svx/source/smarttags/SmartTagMgr.cxx2
-rw-r--r--svx/source/table/accessibletableshape.cxx2
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx2
12 files changed, 0 insertions, 23 deletions
diff --git a/chart2/source/inc/macros.hxx b/chart2/source/inc/macros.hxx
index 56e064332334..e260832bf6ee 100644
--- a/chart2/source/inc/macros.hxx
+++ b/chart2/source/inc/macros.hxx
@@ -21,9 +21,6 @@
#include <typeinfo>
-/// creates a unicode-string from an ASCII string
-#define constAsciiStr (::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( constAsciiStr ) ))
-
/** shows an error-box for an exception ex
else-branch necessary to avoid warning
*/
diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx
index 710a24c0d5fc..d8527cb77b69 100644
--- a/editeng/source/editeng/textconv.cxx
+++ b/editeng/source/editeng/textconv.cxx
@@ -41,8 +41,6 @@ using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
using namespace com::sun::star::linguistic2;
-#define cChar OUString::createFromAscii(cChar)
-
//////////////////////////////////////////////////////////////////////
TextConvWrapper::TextConvWrapper( Window* pWindow,
diff --git a/filter/source/msfilter/msocximex.cxx b/filter/source/msfilter/msocximex.cxx
index abf8b26a47e1..18d08e4384e8 100644
--- a/filter/source/msfilter/msocximex.cxx
+++ b/filter/source/msfilter/msocximex.cxx
@@ -30,8 +30,6 @@
using namespace ::com::sun::star;
using namespace ::rtl;
-#define cChar OUString(cChar)
-
OUString sWW8_form( "WW-Standard" );
SvxMSConvertOCXControls::SvxMSConvertOCXControls( const uno::Reference< frame::XModel >& rxModel) : mxModel(rxModel)
diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx
index 660a8060ea6e..0784fc962bd7 100644
--- a/sccomp/source/solver/solver.cxx
+++ b/sccomp/source/solver/solver.cxx
@@ -62,8 +62,6 @@ using namespace com::sun::star;
using ::rtl::OUString;
-#define constAsciiStr (::rtl::OUString( constAsciiStr ))
-
#define STR_NONNEGATIVE "NonNegative"
#define STR_INTEGER "Integer"
#define STR_TIMEOUT "Timeout"
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index c75a61bb6cc2..7b13df8e0964 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -48,7 +48,6 @@ using ::rtl::OUString;
namespace svtools
{
-#define cChar OUString::createFromAscii(cChar)
static const sal_Char cColor[] = "/Color";
static const sal_Char cColorSchemes[] = "ColorSchemes/";
sal_Int32 nColorRefCount_Impl = 0;
diff --git a/svtools/source/config/fontsubstconfig.cxx b/svtools/source/config/fontsubstconfig.cxx
index b70ebffea546..b54cac24fab3 100644
--- a/svtools/source/config/fontsubstconfig.cxx
+++ b/svtools/source/config/fontsubstconfig.cxx
@@ -34,8 +34,6 @@ using namespace com::sun::star::beans;
using ::rtl::OUString;
-#define cChar OUString::createFromAscii(cChar)
-
const sal_Char cReplacement[] = "Replacement";
const sal_Char cFontPairs[] = "FontPairs";
diff --git a/svtools/source/config/htmlcfg.cxx b/svtools/source/config/htmlcfg.cxx
index de0232010d29..7cfcddf3706f 100644
--- a/svtools/source/config/htmlcfg.cxx
+++ b/svtools/source/config/htmlcfg.cxx
@@ -43,8 +43,6 @@ using namespace com::sun::star::uno;
using ::rtl::OUString;
-#define cChar OUString::createFromAscii(cChar)
-
struct HtmlOptions_Impl
{
::std::list<Link> aList;
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 )