summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-07-02 17:45:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-07-02 17:46:25 +0200
commit278000a28b8eceb8528ebdcf1d601de8192979e8 (patch)
treea522e5b53bca5d3e34c8a86d7bbee25a1ad15b3a /svx
parent892bb81d17b3351c196661c44fb15b29509c7115 (diff)
Remove unused defines
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/bmpmask.hxx10
-rw-r--r--svx/inc/svx/contdlg.hxx10
-rw-r--r--svx/inc/svx/globl3d.hxx4
-rw-r--r--svx/source/engine3d/float3d.cxx2
-rw-r--r--svx/source/svdraw/svdcrtv.cxx1
-rw-r--r--svx/source/svdraw/svdobj.cxx1
6 files changed, 0 insertions, 28 deletions
diff --git a/svx/inc/svx/bmpmask.hxx b/svx/inc/svx/bmpmask.hxx
index c21bef0631e8..0e85f0f2c8c3 100644
--- a/svx/inc/svx/bmpmask.hxx
+++ b/svx/inc/svx/bmpmask.hxx
@@ -186,16 +186,6 @@ private:
SVX_DLLPRIVATE void SetAccessibleNames (void);
};
-/*************************************************************************
-|*
-|* Defines
-|*
-\************************************************************************/
-
-#define SVXBMPMASK() ( (SvxBmpMask*) ( SfxViewFrame::Current()->GetChildWindow( \
- SvxBmpMaskChildWindow::GetChildWindowId() )-> \
- GetWindow() ) )
-
#endif // _BMPMASK_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/contdlg.hxx b/svx/inc/svx/contdlg.hxx
index f8fdbeec2540..34233ab30ade 100644
--- a/svx/inc/svx/contdlg.hxx
+++ b/svx/inc/svx/contdlg.hxx
@@ -101,16 +101,6 @@ public:
const sal_uIntPtr nFlags = 0L );
};
-/*************************************************************************
-|*
-|* Defines
-|*
-\************************************************************************/
-
-#define SVXCONTOURDLG() ( (SvxContourDlg*) ( SfxViewFrame::Current()->GetChildWindow( \
- SvxContourDlgChildWindow::GetChildWindowId() )-> \
- GetWindow() ) )
-
#endif // _REDUCED_CONTDLG_HXX_
#endif // _CONTDLG_HXX_
diff --git a/svx/inc/svx/globl3d.hxx b/svx/inc/svx/globl3d.hxx
index e334b9c3d5eb..d5d495153a7b 100644
--- a/svx/inc/svx/globl3d.hxx
+++ b/svx/inc/svx/globl3d.hxx
@@ -22,10 +22,6 @@
#include <tools/solar.h>
-#define E3D_STREAMING
-
-const double PrecisionLimit = 1.0e-14;
-
const sal_uInt32 E3dInventor = sal_uInt32('E')*0x00000001+
sal_uInt32('3')*0x00000100+
sal_uInt32('D')*0x00010000+
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx
index e8d6f2356bca..645e081ab5a8 100644
--- a/svx/source/engine3d/float3d.cxx
+++ b/svx/source/engine3d/float3d.cxx
@@ -57,9 +57,7 @@
#include <editeng/colritem.hxx>
#include <svx/e3ditem.hxx>
-
#include <svx/gallery.hxx>
-#define GALLERY_THEME "3D"
#include <svl/whiter.hxx>
#include <svx/float3d.hxx>
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index 8ea566fa592d..078ed6a0f7bb 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -40,7 +40,6 @@
#include <svx/sdr/contact/objectcontactofobjlistpainter.hxx>
#include <svx/sdr/contact/displayinfo.hxx>
#include <svx/svdouno.hxx>
-#define XOR_CREATE_PEN PEN_SOLID
#include <svx/svdopath.hxx>
#include <svx/sdr/overlay/overlaypolypolygon.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index ce624e0cb435..a71db0bf0fa2 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1798,7 +1798,6 @@ void SdrObject::BurnInStyleSheetAttributes()
GetProperties().ForceStyleToHardAttributes();
}
-#define Imp2ndKennung (0x434F4D43)
SdrObjUserData* SdrObject::ImpGetMacroUserData() const
{
SdrObjUserData* pData=NULL;