summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-28 01:13:49 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-04-28 01:19:57 +0900
commit3b328186706e6819acfea7b3a6dc8c9d3b6f9693 (patch)
treea6a16220f9502b01e97fce190163a07ea288adc2 /svx
parentd50f02bec4a70bd26a518e4e76f4a876454ab937 (diff)
removed unused defines
Change-Id: I892902a8a4c6c01092d53019bc8a1b3f88667a4f
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx8
-rw-r--r--svx/source/engine3d/obj3d.cxx2
-rw-r--r--svx/source/engine3d/polysc3d.cxx2
-rw-r--r--svx/source/engine3d/scene3d.cxx2
-rw-r--r--svx/source/gengal/gengal.cxx3
-rw-r--r--svx/source/inc/docrecovery.hxx4
-rw-r--r--svx/source/inc/fmexch.hxx8
-rw-r--r--svx/source/inc/fmurl.hxx1
-rw-r--r--svx/source/sdr/contact/displayinfo.cxx2
-rw-r--r--svx/source/sdr/contact/viewcontactofsdrpage.cxx4
-rw-r--r--svx/source/tbxctrls/linectrl.cxx17
-rw-r--r--svx/source/tbxctrls/tbxcolorupdate.cxx2
12 files changed, 0 insertions, 55 deletions
diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx
index e885e17f758e..6758b927794b 100644
--- a/svx/source/dialog/svxbmpnumvalueset.cxx
+++ b/svx/source/dialog/svxbmpnumvalueset.cxx
@@ -81,14 +81,6 @@ using rtl::OUString;
#define NUM_PAGETYPE_SINGLENUM 1
#define NUM_PAGETYPE_NUM 2
#define NUM_PAGETYPE_BMP 3
-#define PAGETYPE_USER_START 10
-
-#define SHOW_NUMBERING 0
-#define SHOW_BULLET 1
-#define SHOW_BITMAP 2
-
-#define MAX_BMP_WIDTH 16
-#define MAX_BMP_HEIGHT 16
static const sal_Char cNumberingType[] = "NumberingType";
static const sal_Char cValue[] = "Value";
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index d8105dc122e3..0081bee8884e 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -85,8 +85,6 @@
#include <svx/sdr/contact/viewcontactofe3dscene.hxx>
#include <svx/e3dsceneupdater.hxx>
-#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
-
//////////////////////////////////////////////////////////////////////////////
using namespace com::sun::star;
diff --git a/svx/source/engine3d/polysc3d.cxx b/svx/source/engine3d/polysc3d.cxx
index 709f667a0425..38c9dad730e1 100644
--- a/svx/source/engine3d/polysc3d.cxx
+++ b/svx/source/engine3d/polysc3d.cxx
@@ -43,8 +43,6 @@
#include <svx/xtable.hxx>
#include <svx/xlnwtit.hxx>
-#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
-
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TYPEINIT1(E3dPolyScene, E3dScene);
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 805829f29685..76d6a8931893 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -55,8 +55,6 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <svx/e3dsceneupdater.hxx>
-#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
-
//////////////////////////////////////////////////////////////////////////////
class ImpRemap3DDepth
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 36a7571c3a27..ce923fb6104b 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -191,9 +191,6 @@ static rtl::OUString Smartify( const rtl::OUString &rPath )
return aURL.GetMainURL( INetURLObject::NO_DECODE );
}
-#define OUSTRING_CSTR( str ) \
- rtl::OUStringToOString( str, RTL_TEXTENCODING_ASCII_US ).getStr()
-
void GalApp::Init()
{
if( getenv( "OOO_INSTALL_PREFIX" ) == NULL ) {
diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx
index dfbd66c679c9..1159f0153056 100644
--- a/svx/source/inc/docrecovery.hxx
+++ b/svx/source/inc/docrecovery.hxx
@@ -50,17 +50,13 @@
#define RECOVERY_CMDPART_PROTOCOL rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:"))
-#define RECOVERY_CMDPART_DO_PREPARE_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doPrepareEmergencySave" ))
#define RECOVERY_CMDPART_DO_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doEmergencySave" ))
#define RECOVERY_CMDPART_DO_RECOVERY rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doAutoRecovery" ))
#define RECOVERY_CMDPART_DO_CRASHREPORT rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doCrashReport" ))
-#define RECOVERY_CMDPART_DO_ENTRY_BACKUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doEntryBackup" ))
-#define RECOVERY_CMDPART_DO_ENTRY_CLEANUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doEntryCleanUp" ))
#define RECOVERY_CMD_DO_PREPARE_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doPrepareEmergencySave"))
#define RECOVERY_CMD_DO_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doEmergencySave" ))
#define RECOVERY_CMD_DO_RECOVERY rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doAutoRecovery" ))
-#define RECOVERY_CMD_DO_CRASHREPORT rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doCrashReport" ))
#define RECOVERY_CMD_DO_ENTRY_BACKUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doEntryBackup" ))
#define RECOVERY_CMD_DO_ENTRY_CLEANUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doEntryCleanUp" ))
diff --git a/svx/source/inc/fmexch.hxx b/svx/source/inc/fmexch.hxx
index 43d8a43c3bcf..42781aba8a77 100644
--- a/svx/source/inc/fmexch.hxx
+++ b/svx/source/inc/fmexch.hxx
@@ -41,14 +41,6 @@ class FmFormPage;
class SvLBoxEntry;
//========================================================================
-// Exchange types
-#define SVX_FM_FIELD_EXCH String("SvxFormFieldExch", sizeof("SvxFormFieldExch"))
-#define SVX_FM_CONTROL_EXCH String("SvxFormExplCtrlExch", sizeof("SvxFormExplCtrlExch"))
-#define SVX_FM_CONTROLS_AS_PATH String("SvxFormControlsAsPathExchange", sizeof("SvxFormControlsAsPathExchange"))
-#define SVX_FM_HIDDEN_CONTROLS String("SvxFormHiddenControlsExchange", sizeof("SvxFormHiddenControlsExchange"))
-#define SVX_FM_FILTER_FIELDS String("SvxFilterFieldExchange", sizeof("SvxFilterFieldExchange"))
-
-//========================================================================
class SvTreeListBox;
//........................................................................
diff --git a/svx/source/inc/fmurl.hxx b/svx/source/inc/fmurl.hxx
index d1b39c6edd6f..f6d1553eb502 100644
--- a/svx/source/inc/fmurl.hxx
+++ b/svx/source/inc/fmurl.hxx
@@ -29,7 +29,6 @@
#ifndef _SVX_FMURL_HXX
#define _SVX_FMURL_HXX
-#define FMURL_FORMSLOTS_PREFIX rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/" ) )
#define FMURL_FORM_POSITION rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/positionForm" ) )
#define FMURL_FORM_RECORDCOUNT rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/RecordCount" ) )
#define FMURL_RECORD_MOVEFIRST rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/moveToFirst" ) )
diff --git a/svx/source/sdr/contact/displayinfo.cxx b/svx/source/sdr/contact/displayinfo.cxx
index 510ea57e7aa7..1ec2c7f87838 100644
--- a/svx/source/sdr/contact/displayinfo.cxx
+++ b/svx/source/sdr/contact/displayinfo.cxx
@@ -34,8 +34,6 @@
#include <svx/svdpagv.hxx>
#include <svx/svdview.hxx>
-#define ALL_GHOSTED_DRAWMODES (DRAWMODE_GHOSTEDLINE|DRAWMODE_GHOSTEDFILL|DRAWMODE_GHOSTEDTEXT|DRAWMODE_GHOSTEDBITMAP|DRAWMODE_GHOSTEDGRADIENT)
-
//////////////////////////////////////////////////////////////////////////////
namespace sdr
diff --git a/svx/source/sdr/contact/viewcontactofsdrpage.cxx b/svx/source/sdr/contact/viewcontactofsdrpage.cxx
index 4526fd3b7869..aa0745ba5909 100644
--- a/svx/source/sdr/contact/viewcontactofsdrpage.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrpage.cxx
@@ -51,10 +51,6 @@
//////////////////////////////////////////////////////////////////////////////
-#define PAPER_SHADOW(SIZE) (SIZE >> 8)
-
-//////////////////////////////////////////////////////////////////////////////
-
namespace sdr
{
namespace contact
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index ccc047c45adc..2d649d42cb14 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -57,23 +57,6 @@ using namespace ::com::sun::star::lang;
// STATIC DATA -----------------------------------------------------------
-#define RESIZE_VALUE_POPUP(value_set) \
-{ \
- Size aSize = GetOutputSizePixel(); \
- aSize.Width() -= 4; \
- aSize.Height() -= 4; \
- (value_set).SetPosSizePixel( Point(2,2), aSize ); \
-}
-
-#define CALCSIZE_VALUE_POPUP(value_set,item_size) \
-{ \
- Size aSize = (value_set).CalcWindowSizePixel( (item_size) ); \
- aSize.Width() += 4; \
- aSize.Height() += 4; \
- SetOutputSizePixel( aSize ); \
-}
-
-
SFX_IMPL_TOOLBOX_CONTROL( SvxLineStyleToolBoxControl, XLineStyleItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxLineWidthToolBoxControl, XLineWidthItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxLineColorToolBoxControl, XLineColorItem );
diff --git a/svx/source/tbxctrls/tbxcolorupdate.cxx b/svx/source/tbxctrls/tbxcolorupdate.cxx
index c62ce1bcfafe..9c384983760c 100644
--- a/svx/source/tbxctrls/tbxcolorupdate.cxx
+++ b/svx/source/tbxctrls/tbxcolorupdate.cxx
@@ -34,8 +34,6 @@
#include <vcl/bmpacc.hxx>
#include <tools/debug.hxx>
-#define IMAGE_COL_TRANSPARENT COL_LIGHTMAGENTA
-
//........................................................................
namespace svx
{