summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 10:18:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:53 +0100
commitaa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch)
treec8b168e8e0619c387d30f206848ec30ca7238a00 /filter
parent2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff)
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/etiff/etiff.cxx1
-rw-r--r--filter/source/graphicfilter/icgm/cgm.cxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
-rw-r--r--filter/source/msfilter/svdfppt.cxx5
4 files changed, 1 insertions, 9 deletions
diff --git a/filter/source/graphicfilter/etiff/etiff.cxx b/filter/source/graphicfilter/etiff/etiff.cxx
index 8a261565be49..7d4e841c7b24 100644
--- a/filter/source/graphicfilter/etiff/etiff.cxx
+++ b/filter/source/graphicfilter/etiff/etiff.cxx
@@ -41,7 +41,6 @@
#define PlanarConfiguration 284
#define ResolutionUnit 296
#define ColorMap 320
-#define ReferenceBlackWhite 532
// -------------
// - TIFFWriter -
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx
index 7f38566ca714..971b0a1c297a 100644
--- a/filter/source/graphicfilter/icgm/cgm.cxx
+++ b/filter/source/graphicfilter/icgm/cgm.cxx
@@ -20,7 +20,6 @@
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <unotools/ucbstreamhelper.hxx>
-#define CGM_BREAK_ACTION 0xffffffff
#include <osl/endian.h>
#include <vcl/virdev.hxx>
#include <vcl/graph.hxx>
@@ -635,6 +634,7 @@ void CGM::ImplDoClass()
{
#ifdef CGM_USER_BREAKPOINT
#ifdef WNT
+#define CGM_BREAK_ACTION 0xffffffff
if ( mnActCount == CGM_BREAK_ACTION )
_asm int 0x3;
#endif
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 6a98e7113067..bca32e2c782d 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -143,8 +143,6 @@ using namespace beans ;
using namespace drawing ;
using namespace container ;
-#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
-
// static counter for OLE-Objects
static sal_uInt32 nMSOleObjCntr = 0;
#define MSO_OLE_Obj "MSO_OLE_Obj"
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 943bcae39ada..d15ffff5d9f0 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -59,7 +59,6 @@
#include <editeng/unoprnms.hxx>
#include <editeng/editids.hrc>
-#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
#include <editeng/adjustitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/colritem.hxx>
@@ -122,12 +121,8 @@
#define PPT_COLSCHEME (0x08000000)
#define PPT_COLSCHEME_HINTERGRUND (0x08000000)
#define PPT_COLSCHEME_TEXT_UND_ZEILEN (0x08000001)
-#define PPT_COLSCHEME_SCHATTEN (0x08000002)
#define PPT_COLSCHEME_TITELTEXT (0x08000003)
-#define PPT_COLSCHEME_FUELLBEREICHE (0x08000004)
-#define PPT_COLSCHEME_AKZENT (0x08000005)
#define PPT_COLSCHEME_A_UND_HYPERLINK (0x08000006)
-#define PPT_COLSCHEME_A_H_GESICHERT (0x08000007)
#define ANSI_CHARSET 0
#define SYMBOL_CHARSET 2