diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-01 18:24:05 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-01 18:33:42 +0200 |
commit | 00240d049790d11c4ef35de7a294819107197efd (patch) | |
tree | 6479f4fee0eac540ca6d0b80552834f2b19e4364 /svtools/source | |
parent | d341aca7f68bc082cdefe4b1176f56c2c14a0322 (diff) |
Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/ruler.cxx | 2 | ||||
-rw-r--r-- | svtools/source/filter/sgvtext.cxx | 1 | ||||
-rw-r--r-- | svtools/source/filter/wmf/winmtf.hxx | 19 |
3 files changed, 6 insertions, 16 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 453dadea15ab..a422eb568f7a 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -41,12 +41,10 @@ #define RULER_OFF 3 #define RULER_TEXTOFF 5 #define RULER_RESIZE_OFF 4 -#define RULER_LINE_WIDTH 7 #define RULER_MIN_SIZE 3 #define RULER_TICK1_WIDTH 1 #define RULER_TICK2_WIDTH 3 -#define RULER_TICK3_WIDTH 5 #define RULER_VAR_SIZE 8 diff --git a/svtools/source/filter/sgvtext.cxx b/svtools/source/filter/sgvtext.cxx index 5670530ed52b..1f07b83a2b49 100644 --- a/svtools/source/filter/sgvtext.cxx +++ b/svtools/source/filter/sgvtext.cxx @@ -159,7 +159,6 @@ extern SgfFontLst* pSgfFonts; //============================================================================== -#define DefaultCharWidth 4800 #define GradDiv 2 #define CharTopToBase 100 /* wegen Apostrophe und Umlaute mehr als 75% */ #define CharTopToBtm 120 /* Zeilenhoehe ist groesser als Schriftgrad */ diff --git a/svtools/source/filter/wmf/winmtf.hxx b/svtools/source/filter/wmf/winmtf.hxx index bf81be57ff55..a4886908fc86 100644 --- a/svtools/source/filter/wmf/winmtf.hxx +++ b/svtools/source/filter/wmf/winmtf.hxx @@ -77,11 +77,11 @@ #define BLACK_PEN 7 #define NULL_PEN 8 #define OEM_FIXED_FONT 10 -#define ANSI_FIXED_FONT 11 +// ANSI_FIXED_FONT 11 #define ANSI_VAR_FONT 12 #define SYSTEM_FONT 13 -#define DEVICE_DEFAULT_FONT 14 -#define DEFAULT_PALETTE 15 +// DEVICE_DEFAULT_FONT 14 +// DEFAULT_PALETTE 15 #define SYSTEM_FIXED_FONT 16 @@ -122,12 +122,10 @@ #define BLACKONWHITE 1 #define WHITEONBLACK 2 #define COLORONCOLOR 3 -#define HALFTONE 4 #define MAXSTRETCHBLTMODE 4 #define STRETCH_ANDSCANS BLACKONWHITE #define STRETCH_ORSCANS WHITEONBLACK #define STRETCH_DELETESCANS COLORONCOLOR -#define STRETCH_HALFTONE HALFTONE #define LF_FACESIZE 32 @@ -187,11 +185,6 @@ struct WMF_EXTERNALHEADER; #define PS_ALTERNATE 8 #define PS_STYLE_MASK 15 -#define PS_ENDCAP_ROUND 0x000 -#define PS_ENDCAP_SQUARE 0x100 -#define PS_ENDCAP_FLAT 0x200 -#define PS_ENDCAP_MASK 0xF00 - #define PS_JOIN_ROUND 0x0000 #define PS_JOIN_BEVEL 0x1000 #define PS_JOIN_MITER 0x2000 @@ -227,9 +220,9 @@ struct WMF_EXTERNALHEADER; /*WINVER >= 0x0400*/ #define ETO_GLYPH_INDEX 0x0010 #define ETO_RTLREADING 0x0080 -#define ETO_NUMERICSLOCAL 0x0400 -#define ETO_NUMERICSLATIN 0x0800 -#define ETO_IGNORELANGUAGE 0x1000 +// ETO_NUMERICSLOCAL 0x0400 +// ETO_NUMERICSLATIN 0x0800 +// ETO_IGNORELANGUAGE 0x1000 /*_WIN32_WINNT >= 0x0500*/ #define ETO_PDY 0x2000 |