summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-19 08:54:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-19 22:20:21 +0200
commit8d40a23aafc4c0972e052fbb58862228839cc7ef (patch)
tree989a3adc8b7ec45761f95b086a5761bb6d7b6f3b /starmath
parent98e45269e4d9f276a27c065dbd00614436856b20 (diff)
drop some unnecessary headers
Change-Id: Ic26c41e1d6be76e28081cc0110cd2335c03d2e27 Reviewed-on: https://gerrit.libreoffice.org/60755 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/dialog.hxx11
-rw-r--r--starmath/inc/pch/precompiled_sm.hxx2
-rw-r--r--starmath/inc/utility.hxx4
-rw-r--r--starmath/source/dialog.cxx2
-rw-r--r--starmath/source/utility.cxx4
5 files changed, 0 insertions, 23 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index bd1c0d4bdd40..7c3f70c2d8e1 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -19,20 +19,9 @@
#ifndef INCLUDED_STARMATH_INC_DIALOG_HXX
#define INCLUDED_STARMATH_INC_DIALOG_HXX
-#include <vcl/image.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/button.hxx>
-#include <vcl/layout.hxx>
#include <sfx2/tabdlg.hxx>
-#include <vcl/combobox.hxx>
#include <svx/charmap.hxx>
#include <sfx2/basedlgs.hxx>
-#include <vcl/field.hxx>
-#include <vcl/menubtn.hxx>
-#include <vcl/scrbar.hxx>
-#include <vcl/ctrl.hxx>
-#include <vcl/menu.hxx>
#include <vcl/outdev.hxx>
#include <svtools/ctrlbox.hxx>
#include <svtools/ctrltool.hxx>
diff --git a/starmath/inc/pch/precompiled_sm.hxx b/starmath/inc/pch/precompiled_sm.hxx
index 38380c516ef8..2ce98e092949 100644
--- a/starmath/inc/pch/precompiled_sm.hxx
+++ b/starmath/inc/pch/precompiled_sm.hxx
@@ -58,7 +58,6 @@
#include <sal/log.hxx>
#include <sal/types.h>
#include <salhelper/singletonref.hxx>
-#include <vcl/button.hxx>
#include <vcl/cairo.hxx>
#include <vcl/cursor.hxx>
#include <vcl/devicecoordinate.hxx>
@@ -96,7 +95,6 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/weakref.hxx>
-#include <dialog.hxx>
#include <document.hxx>
#include <editeng/editdata.hxx>
#include <editeng/editengdllapi.h>
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index e6346d4dc6e4..bcd5736a27a5 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -23,14 +23,10 @@
#include <sal/log.hxx>
#include <vcl/font.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/combobox.hxx>
-#include <vcl/lstbox.hxx>
#include <vcl/weld.hxx>
#include <tools/fract.hxx>
#include <deque>
-
inline long SmPtsTo100th_mm(long nNumPts)
// returns the length (in 100th of mm) that corresponds to the length
// 'nNumPts' (in units points).
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 748ad51575f0..127bcaac30d5 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -26,10 +26,8 @@
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
#include <svl/stritem.hxx>
-#include <vcl/builderfactory.hxx>
#include <vcl/weld.hxx>
#include <svtools/ctrltool.hxx>
-#include <vcl/waitobj.hxx>
#include <vcl/settings.hxx>
#include <vcl/wall.hxx>
#include <vcl/fontcharmap.hxx>
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 1018bad60c04..c82b5ec6b7aa 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -17,15 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <vcl/builderfactory.hxx>
-
#include <strings.hrc>
-
#include <utility.hxx>
#include <dialog.hxx>
#include <view.hxx>
-
// return pointer to active SmViewShell, if this is not possible
// return 0 instead.
//!! Since this method is based on the current focus it is somewhat