summaryrefslogtreecommitdiff
path: root/sd/source/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 /sd/source/filter
parent2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff)
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'sd/source/filter')
-rw-r--r--sd/source/filter/cgm/sdcgmfilter.cxx5
-rw-r--r--sd/source/filter/eppt/eppt.cxx3
-rw-r--r--sd/source/filter/eppt/epptso.cxx2
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx16
-rw-r--r--sd/source/filter/html/htmlex.cxx3
5 files changed, 0 insertions, 29 deletions
diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx
index 24a3d6d9bdc8..6ebd25fe4b54 100644
--- a/sd/source/filter/cgm/sdcgmfilter.cxx
+++ b/sd/source/filter/cgm/sdcgmfilter.cxx
@@ -31,15 +31,10 @@
#include "sdcgmfilter.hxx"
#define CGM_IMPORT_CGM 0x00000001
-#define CGM_IMPORT_IM 0x00000002
#define CGM_EXPORT_IMPRESS 0x00000100
-#define CGM_EXPORT_META 0x00000200
-#define CGM_EXPORT_COMMENT 0x00000400
-#define CGM_NO_PAD_BYTE 0x00010000
#define CGM_BIG_ENDIAN 0x00020000
-#define CGM_LITTLE_ENDIAN 0x00040000
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::task;
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index 5dfa305ebb29..aa10f3325868 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -1355,10 +1355,7 @@ void PPTWriter::ImplWriteOLE( )
sal_Bool PPTWriter::ImplWriteAtomEnding()
{
-#define EPP_LastViewTypeNone 0
#define EPP_LastViewTypeSlideView 1
-#define EPP_LastViewTypeOutlineView 2
-#define EPP_LastViewTypeNotes 3
sal_uInt32 i, nPos, nOfs, nPersistOfs = mpStrm->Tell();
sal_uInt32 nPersistEntrys = 0;
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index f543cdee6687..4965de7ba382 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -88,7 +88,6 @@ using namespace ::com::sun::star;
////////////////////////////////////////////////////////////////////////////////////////////////////
/* Font Families */
-#define FF_DONTCARE 0x00
#define FF_ROMAN 0x10
#define FF_SWISS 0x20
#define FF_MODERN 0x30
@@ -99,7 +98,6 @@ using namespace ::com::sun::star;
#define DEFAULT_PITCH 0x00
#define FIXED_PITCH 0x01
-#define VARIABLE_PITCH 0x02
// ---------------------------------------------------------------------------------------------
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 85c3725d899b..7260f27467db 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -405,22 +405,6 @@ void PowerPointExport::ImplWriteBackground( FSHelperPtr pFS, Reference< XPropert
pFS->endElementNS( XML_p, XML_bg );
}
-#define MINIMAL_SPTREE "<p:spTree>\
- <p:nvGrpSpPr>\
- <p:cNvPr id=\"1\" name=\"\"/>\
- <p:cNvGrpSpPr/>\
- <p:nvPr/>\
- </p:nvGrpSpPr>\
- <p:grpSpPr>\
- <a:xfrm>\
- <a:off x=\"0\" y=\"0\"/>\
- <a:ext cx=\"0\" cy=\"0\"/>\
- <a:chOff x=\"0\" y=\"0\"/>\
- <a:chExt cx=\"0\" cy=\"0\"/>\
- </a:xfrm>\
- </p:grpSpPr>\
- </p:spTree>"
-
#define MAIN_GROUP \
"<p:nvGrpSpPr>\
<p:cNvPr id=\"1\" name=\"\"/>\
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 034583e175fd..706b199745bb 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -91,12 +91,9 @@ using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::document;
-#define KEY_QUALITY "JPG-EXPORT-QUALITY"
-
// get parameter from Itemset
#define RESTOHTML( res ) StringToHTMLString(String(SdResId(res)))
-#define S2H( str ) StringToHTMLString( str )
const char *pButtonNames[] =
{