summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/icgm/chart.hxx10
-rw-r--r--filter/source/graphicfilter/icgm/main.hxx12
-rw-r--r--filter/source/msfilter/powerpoint/pptcom.hxx2
-rw-r--r--filter/source/svg/svgwriter.hxx1
4 files changed, 10 insertions, 15 deletions
diff --git a/filter/source/graphicfilter/icgm/chart.hxx b/filter/source/graphicfilter/icgm/chart.hxx
index bfe7ff22ff52..d052ce799703 100644
--- a/filter/source/graphicfilter/icgm/chart.hxx
+++ b/filter/source/graphicfilter/icgm/chart.hxx
@@ -35,7 +35,7 @@
#define PIECHART 21 /* Standard pie chart file. */
#define ORGCHART 26 /* Standard org chart file. */
#define TTLCHART 31 /* Title chart file. */
-#define BULCHART 32 /* Bullet chart file. */
+// BULCHART 32 /* Bullet chart file. */
#define TABCHART 33 /* Table chart file. */
#define DRWCHART 41 /* Chart with drawings only.*/
#define MLTCHART 42 /* Multiple chart file. */
@@ -44,16 +44,16 @@
#define SYMFILE 47 /* Symbol file. */
/* the following were added although SPC doesn't have a #define */
/* for them... */
-#define AUTOTTLCHT 95 /* Autobuild TTL CHT */
-#define AUTOBULCHT 96 /* Autobuild BUL CHT */
-#define AUTOTABCHT 97 /* Autobuild TAB CHT */
+// AUTOTTLCHT 95 /* Autobuild TTL CHT */
+// AUTOBULCHT 96 /* Autobuild BUL CHT */
+// AUTOTABCHT 97 /* Autobuild TAB CHT */
/* FNC 10/11/93: for the chart stream, ALLCHART was added. */
/* It is used specifically by PPT in its Template to let */
/* us know that the template applies to all charts, not to */
/* one specific chart type. */
#define ALLCHART 127 /* Applies to all chart types */
-#define ALLCHART_TPL 255 /* Applies to all chart types */
+// ALLCHART_TPL 255 /* Applies to all chart types */
#define IOC_CHTTITLE 1 /* Title for any chart. */
#define IOC_CHTFOOTNOTE 2 /* ::com::sun::star::text::Footnote for any chart. */
diff --git a/filter/source/graphicfilter/icgm/main.hxx b/filter/source/graphicfilter/icgm/main.hxx
index 0722375a98c4..a48dc5c0c4db 100644
--- a/filter/source/graphicfilter/icgm/main.hxx
+++ b/filter/source/graphicfilter/icgm/main.hxx
@@ -24,10 +24,11 @@
// ---------------------------------------------------------------
-#define CGM_LEVEL1 0x0001 // VERSION 1 METAFILE
-#define CGM_LEVEL2 0x0002
-#define CGM_LEVEL3 0x0003
-#define CGM_GDSF_ONLY 0x00F0
+// CGM_LEVEL1 0x0001 // VERSION 1 METAFILE
+// CGM_LEVEL2 0x0002
+// CGM_LEVEL3 0x0003
+// CGM_GDSF_ONLY 0x00F0
+// CGM_GDSF_ONLY 0x00F0
#define CGM_UNKNOWN_LEVEL 0x00F1
#define CGM_UNKNOWN_COMMAND 0x00F2
#define CGM_DESCRIPTION 0x00F3
@@ -38,9 +39,6 @@
// ELEMENT
#define BMCOL( _col ) BitmapColor( (sal_Int8)(_col >> 16 ), (sal_Int8)( _col >> 8 ), (sal_Int8)_col )
-#define ALIGN2( _nElementSize ) { _nElementSize = ( _nElementSize + 1 ) & ~1; }
-#define ALIGN4( _nElementSize ) { _nElementSize = ( _nElementSize + 3 ) & ~3; }
-#define ALIGN8( _nElementSize ) { _nElementSize = ( _nElementSize + 7 ) & ~7; }
#include <vcl/salbtype.hxx>
#include <tools/stream.hxx>
diff --git a/filter/source/msfilter/powerpoint/pptcom.hxx b/filter/source/msfilter/powerpoint/pptcom.hxx
index 2228b0fdbf1b..f25e6adaab20 100644
--- a/filter/source/msfilter/powerpoint/pptcom.hxx
+++ b/filter/source/msfilter/powerpoint/pptcom.hxx
@@ -49,7 +49,6 @@
#define NMSP_LANG com::sun::star::lang
#define NMSP_IO com::sun::star::io
#define NMSP_SAX com::sun::star::xml::sax
-#define NMSP_PRES com::sun::star::presentation
#define NMSP_REGISTRY com::sun::star::registry
#define NMSP_DOCUMENT com::sun::star::document
@@ -58,7 +57,6 @@
#define SEQ( _def_Obj ) NMSP_UNO::Sequence< _def_Obj >
#define ANY NMSP_UNO::Any
#define B2UCONST( _def_pChar ) (NMSP_RTL::OUString(RTL_CONSTASCII_USTRINGPARAM(_def_pChar )))
-#define PPT_DTD_STRING B2UCONST( "<!DOCTYPE office:document-styles PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"office.dtd\">"
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx
index d0de0a17a673..b2821b649a34 100644
--- a/filter/source/svg/svgwriter.hxx
+++ b/filter/source/svg/svgwriter.hxx
@@ -63,7 +63,6 @@
#define NMSP_UNO com::sun::star::uno
#define NMSP_LANG com::sun::star::lang
#define NMSP_SAX com::sun::star::xml::sax
-#define NMSP_SVG com::sun::star::svg
#define NMSP_REGISTRY com::sun::star::registry