diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-23 09:47:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-08 10:39:36 +0200 |
commit | 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 (patch) | |
tree | e368da6d3ae2c8a5c8e214b99dd0f95861d0fc78 /filter/source | |
parent | Factor out XFillTransparenceItem::dumpAsXml() from sw (diff) | |
download | core-45ec1d9b56cec41596f806ebf845ebfcd30c9f46.tar.gz core-45ec1d9b56cec41596f806ebf845ebfcd30c9f46.zip |
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/graphicfilter/icgm/chart.hxx | 11 | ||||
-rw-r--r-- | filter/source/placeware/zipfile.hxx | 51 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.hxx | 2 |
3 files changed, 0 insertions, 64 deletions
diff --git a/filter/source/graphicfilter/icgm/chart.hxx b/filter/source/graphicfilter/icgm/chart.hxx index e92b1a90c7d5..5b8e441e8c0d 100644 --- a/filter/source/graphicfilter/icgm/chart.hxx +++ b/filter/source/graphicfilter/icgm/chart.hxx @@ -21,18 +21,7 @@ #define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CHART_HXX /* FILE TYPE CONSTANTS: */ -#define NOCHART 0 /* Undefined chart. */ -#define XYCHART 1 /* Standard XY chart. */ -#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. */ -#define TABCHART 33 /* Table chart file. */ -#define DRWCHART 41 /* Chart with drawings only.*/ -#define MLTCHART 42 /* Multiple chart file. */ -#define LASTCHART 45 /* The largest chart type. */ -#define SHWFILE 46 /* Slide show file. */ -#define SYMFILE 47 /* Symbol file. */ /* the following were added although SPC doesn't have a #define */ /* for them... */ #define AUTOTTLCHT 95 /* Autobuild TTL CHT */ diff --git a/filter/source/placeware/zipfile.hxx b/filter/source/placeware/zipfile.hxx index 77a4ee68ad3c..92514c3ec61f 100644 --- a/filter/source/placeware/zipfile.hxx +++ b/filter/source/placeware/zipfile.hxx @@ -20,64 +20,13 @@ #ifndef INCLUDED_FILTER_SOURCE_PLACEWARE_ZIPFILE_HXX #define INCLUDED_FILTER_SOURCE_PLACEWARE_ZIPFILE_HXX -/* Local file head offsets. The header is followed by the filename and - possibly the extra field. */ -#define zf_lfhSig 0 -#define zf_lfhExVers 4 -#define zf_lfhFlags 6 -#define zf_lfhComp 8 -#define zf_lfhModTime 10 -#define zf_lfhModDate 12 -#define zf_lfhCRC 14 -#define zf_lfhCompSize 18 -#define zf_lfhUncompSize 22 -#define zf_lfhNameLen 26 -#define zf_lfhExtraLen 28 #define zf_lfhSIZE 30 /* total size of header */ -/* We don't write data descriptors. */ - -/* Central dir file header offsets. Each entry is followed by the filename, - optional extra field, and file comment. */ -#define zf_cdhSig 0 -#define zf_cdhVers 4 -#define zf_cdhExVers 6 -#define zf_cdhFlags 8 -#define zf_cdhComp 10 -#define zf_cdhTime 12 -#define zf_cdhDate 14 -#define zf_cdhCRC 16 -#define zf_cdhCompSize 20 -#define zf_cdhUncompSize 24 -#define zf_cdhNameLen 28 -#define zf_cdhExtraLen 30 -#define zf_cdhCommentLen 32 -#define zf_cdhDiskNum 34 -#define zf_cdhIFAttrs 36 -#define zf_cdhEFAttrs 38 -#define zf_cdhLHOffset 42 -#define zf_cdhSIZE 46 /* total size of header */ - -/* End of central dir record offsets. It is followed by the zipfile - comment. */ -#define zf_ecdSig 0 -#define zf_ecdDiskNum 4 -#define zf_ecdDirDiskNum 6 -#define zf_ecdNumEntries 8 -#define zf_ecdTotalEntries 10 -#define zf_ecdDirSize 12 -#define zf_ecdDirOffset 16 -#define zf_ecdCommentLen 20 -#define zf_ecdSIZE 22 /* total size */ - /* Magic constants to put in these structures. */ #define zf_LFHSIGValue 0x04034b50 #define zf_CDHSIGValue 0x02014b50 #define zf_ECDSIGValue 0x06054b50 -/* OS values for upper byte of version field. */ -#define zf_osUnix 3 - /* Encode a major,minor version in a byte. */ #define zf_Vers(major,minor) ((major) * 10 + (minor)) diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx index 0a77dd765711..8d296a22914f 100644 --- a/filter/source/svg/svgwriter.hxx +++ b/filter/source/svg/svgwriter.hxx @@ -73,9 +73,7 @@ using namespace ::com::sun::star::xml::sax; #define SVG_DTD_STRING OUString( "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">" ) -#define SVG_TINY_DTD_STRING OUString( "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG Tiny 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd\">" ) -#define SVGWRITER_WRITE_NONE 0x00000000 #define SVGWRITER_WRITE_FILL 0x00000001 #define SVGWRITER_WRITE_TEXT 0x00000002 #define SVGWRITER_NO_SHAPE_COMMENTS 0x01000000 |