summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-18 16:14:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-18 16:14:14 +0100
commit1420bb328c47306e71ed8cbc638e9d38ac46cfd5 (patch)
tree86c65fe68ba92445ab39d585a1a57b814fceb1f3 /starmath
parentb1059002cd8fb84cbae969b43620b36a066c527c (diff)
Remove duplicated includes and defines. Identified with "cat $i | grep '^#include' | sort | uniq -d".
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/dialog.hxx1
-rw-r--r--starmath/source/math_pch.cxx20
-rw-r--r--starmath/source/smdetect.cxx2
-rw-r--r--starmath/source/symbol.cxx1
-rw-r--r--starmath/source/typemap.cxx14
-rw-r--r--starmath/source/unomodel.cxx1
6 files changed, 0 insertions, 39 deletions
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 <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
-#include <vcl/image.hxx>
#include <sfx2/tabdlg.hxx>
#include <vcl/combobox.hxx>
#include <svx/charmap.hxx>
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 <vcl/accel.hxx>
#include <tools/resid.hxx>
#include <tools/rc.hxx>
-#include <tools/rc.hxx>
#include <i18npool/lang.h>
#include <tools/resmgr.hxx>
#include <vcl/keycod.hxx>
#include <vcl/keycodes.hxx>
#include <vcl/vclenum.hxx>
-#include <vcl/timer.hxx>
#include <vcl/cmdevt.hxx>
#include <vcl/font.hxx>
#include <tools/color.hxx>
-#include <vcl/outdev.hxx>
#include <vcl/region.hxx>
#include <vcl/mapmod.hxx>
#include <tools/fract.hxx>
@@ -96,13 +93,11 @@
#include <format.hxx>
#include <utility.hxx>
#include <vcl/fixed.hxx>
-#include <vcl/image.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/window.hxx>
#include <sfx2/minarray.hxx>
#include <vcl/combobox.hxx>
#include <vcl/combobox.h>
-#include <vcl/edit.hxx>
#include <vcl/menu.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/lstbox.hxx>
@@ -144,14 +139,12 @@
#include <osl/thread.h>
#include <vcl/apptypes.hxx>
#include <tools/dynary.hxx>
-#include <vcl/metric.hxx>
#include <vcl/svapp.hxx>
#include <vcl/timer.hxx>
#include <sfx2/app.hxx>
#include <sfx2/sfx.hrc>
#include <svl/memberid.hrc>
#include <vcl/syswin.hxx>
-#include <vcl/virdev.hxx>
#include <tools/datetime.hxx>
#include <tools/wldcrd.hxx>
#include <parse.hxx>
@@ -355,13 +348,9 @@
#include <sfx2/msg.hxx>
#include <svl/itemset.hxx>
#include <sfx2/basedlgs.hxx>
-#include <vcl/floatwin.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/window.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/frame.hxx>
#include <sfx2/objface.hxx>
-#include <vcl/event.hxx>
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
#include <symbol.hxx>
@@ -376,34 +365,26 @@
#include <svl/ownlist.hxx>
#include <sfx2/objsh.hxx>
#include <svl/stritem.hxx>
-#include <vcl/mapmod.hxx>
#include <sfx2/ipfrm.hxx>
#include <vcl/dialog.hxx>
#include <sfx2/dispatch.hxx>
#include <svl/svstdarr.hxx>
#include <sfx2/bindings.hxx>
#include <dialog.hxx>
-#include <vcl/button.hxx>
#include <vcl/symbol.hxx>
#include <sfx2/tabdlg.hxx>
#include <vcl/button.hxx>
#include <vcl/tabdlg.hxx>
#include <vcl/tabpage.hxx>
#include <vcl/tabctrl.hxx>
-#include <vcl/group.hxx>
#include <svx/optgenrl.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/edit.hxx>
#include <vcl/group.hxx>
#include <document.hxx>
-#include <vcl/field.hxx>
#include <vcl/spinfld.hxx>
#include <vcl/menubtn.hxx>
-#include <vcl/scrbar.hxx>
#include <svtools/ctrlbox.hxx>
-#include <vcl/lstbox.hxx>
#include <vcl/virdev.hxx>
-#include <vcl/combobox.hxx>
#include <vcl/field.hxx>
#include <svtools/ctrltool.hxx>
#include <sfx2/interno.hxx>
@@ -426,7 +407,6 @@
#include <svx/svxids.hrc>
#include <view.hxx>
#include <sfx2/dockwin.hxx>
-#include <vcl/dockwin.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/clientsh.hxx>
#include <svtools/scrwin.hxx>
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 <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <comphelper/processfactory.hxx>
-#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
@@ -47,7 +46,6 @@
#include <com/sun/star/ucb/InteractiveAppException.hpp>
#include <com/sun/star/ucb/XContent.hpp>
#include <com/sun/star/packages/zip/ZipIOException.hpp>
-#include <framework/interaction.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <ucbhelper/simpleinteractionrequest.hxx>
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 <vector>
#include <osl/mutex.hxx>
#include <ucbhelper/content.hxx>
#include <vcl/msgbox.hxx>
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
@@ -31,7 +31,6 @@
#include <osl/mutex.hxx>
-#include <osl/mutex.hxx>
#include <sfx2/printer.hxx>
#include <vcl/svapp.hxx>
#include <svtools/ctrltool.hxx>