From 1420bb328c47306e71ed8cbc638e9d38ac46cfd5 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 18 Jan 2011 16:14:14 +0100 Subject: Remove duplicated includes and defines. Identified with "cat $i | grep '^#include' | sort | uniq -d". --- starmath/inc/dialog.hxx | 1 - starmath/source/math_pch.cxx | 20 -------------------- starmath/source/smdetect.cxx | 2 -- starmath/source/symbol.cxx | 1 - starmath/source/typemap.cxx | 14 -------------- starmath/source/unomodel.cxx | 1 - 6 files changed, 39 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index 64cb550d787b..ea548a9ee528 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/starmath/source/math_pch.cxx b/starmath/source/math_pch.cxx index 8f009293fb9c..432d134f50e9 100644 --- a/starmath/source/math_pch.cxx +++ b/starmath/source/math_pch.cxx @@ -71,17 +71,14 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include #include -#include #include #include #include @@ -96,13 +93,11 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include #include @@ -144,14 +139,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -355,13 +348,9 @@ #include #include #include -#include -#include -#include #include #include #include -#include #include #include #include @@ -376,34 +365,26 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include #include #include #include -#include #include -#include #include #include #include -#include #include #include -#include #include -#include #include -#include #include #include #include @@ -426,7 +407,6 @@ #include #include #include -#include #include #include #include diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx index ffae33b07d0c..0cac5855bafd 100644 --- a/starmath/source/smdetect.cxx +++ b/starmath/source/smdetect.cxx @@ -39,7 +39,6 @@ #include #include #include -#include #include #include #include @@ -47,7 +46,6 @@ #include #include #include -#include #include #include diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx index 89d99a4f5c1f..7e2c3b485d1d 100644 --- a/starmath/source/symbol.cxx +++ b/starmath/source/symbol.cxx @@ -30,7 +30,6 @@ #include "precompiled_starmath.hxx" -#include #include #include #include diff --git a/starmath/source/typemap.cxx b/starmath/source/typemap.cxx index 1816e483ab90..767e29dcad34 100644 --- a/starmath/source/typemap.cxx +++ b/starmath/source/typemap.cxx @@ -45,14 +45,9 @@ #define ITEMID_HYPHENREGION 0 #define ITEMID_FONT 0 #define ITEMID_FONTHEIGHT 0 -#define ITEMID_COLOR 0 -#define ITEMID_BRUSH 0 #define ITEMID_BRUSH 0 #define ITEMID_BOX 0 #define ITEMID_LINE 0 -#define ITEMID_BRUSH 0 -#define ITEMID_SPELLCHECK 0 -#define ITEMID_HYPHENREGION 0 #define ITEMID_LINESPACING 0 #define ITEMID_ADJUST 0 #define ITEMID_WIDOWS 0 @@ -62,10 +57,8 @@ #define ITEMID_FMTSPLIT 0 #define ITEMID_PAGEMODEL 0 #define ITEMID_FONTLIST 0 -#define ITEMID_FONT 0 #define ITEMID_POSTURE 0 #define ITEMID_WEIGHT 0 -#define ITEMID_FONTHEIGHT 0 #define ITEMID_FONTWIDTH 0 #define ITEMID_UNDERLINE 0 #define ITEMID_CROSSEDOUT 0 @@ -82,9 +75,6 @@ #define ITEMID_LANGUAGE 0 #define ITEMID_NOLINEBREAK 0 #define ITEMID_NOHYPHENHERE 0 -#define ITEMID_COLOR 0 -#define ITEMID_FONT 0 -#define ITEMID_FONTHEIGHT 0 #define ITEMID_SEARCH 0 #define ITEMID_COLOR_TABLE 0 #define ITEMID_GRADIENT_LIST 0 @@ -99,7 +89,6 @@ #define ITEMID_CHARTTEXTORDER 0 #define ITEMID_CHARTTEXTORIENT 0 #define ITEMID_DOUBLE 0 -#define ITEMID_TABSTOP 0 #define ITEMID_PAPERBIN 0 #define ITEMID_SIZE 0 #define ITEMID_LRSPACE 0 @@ -108,12 +97,9 @@ #define ITEMID_OPAQUE 0 #define ITEMID_PROTECT 0 #define ITEMID_MACRO 0 -#define ITEMID_BOX 0 #define ITEMID_BOXINFO 0 #define ITEMID_FMTBREAK 0 #define ITEMID_FMTKEEP 0 -#define ITEMID_LINE 0 -#define ITEMID_BRUSH 0 #define CharSetItem SfxVoidItem #define FontFamilyItem SfxVoidItem diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 1692dd8a3ca4..417057e224ac 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -30,7 +30,6 @@ #include "precompiled_starmath.hxx" -#include #include #include #include -- cgit