summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx1
-rw-r--r--starmath/source/accessibility.cxx9
-rw-r--r--starmath/source/accessibility.hxx4
-rw-r--r--starmath/source/cfgitem.cxx1
-rw-r--r--starmath/source/document.cxx6
-rw-r--r--starmath/source/edit.cxx2
-rw-r--r--starmath/source/mathml/export.cxx6
-rw-r--r--starmath/source/mathml/import.cxx5
-rw-r--r--starmath/source/mathml/iterator.cxx2
-rw-r--r--starmath/source/mathml/mathmlexport.cxx1
-rw-r--r--starmath/source/mathml/starmathdatabase.cxx1
-rw-r--r--starmath/source/mathtype.hxx2
-rw-r--r--starmath/source/parse.cxx1
-rw-r--r--starmath/source/parse5.cxx2
-rw-r--r--starmath/source/smediteng.cxx6
15 files changed, 13 insertions, 36 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 23888cf95311..7f1b86120ad0 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -23,6 +23,7 @@
#include <strings.hrc>
#include <smmod.hxx>
#include <cfgitem.hxx>
+#include <parse.hxx>
#include <view.hxx>
#include <visitors.hxx>
#include <document.hxx>
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index b5686d01b97b..c2ae7bb41e1a 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -26,27 +26,18 @@
#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <com/sun/star/datatransfer/clipboard/XFlushableClipboard.hpp>
-#include <com/sun/star/i18n/WordType.hpp>
#include <unotools/accessiblestatesethelper.hxx>
#include <comphelper/accessibleeventnotifier.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/diagnose.h>
-#include <svx/AccessibleTextHelper.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/svapp.hxx>
-#include <vcl/window.hxx>
#include <vcl/unohelp2.hxx>
#include <vcl/settings.hxx>
#include <tools/gen.hxx>
-#include <svl/itemset.hxx>
#include <editeng/editobj.hxx>
-#include <editeng/editdata.hxx>
-#include <editeng/editview.hxx>
-#include <editeng/eeitem.hxx>
-#include <editeng/outliner.hxx>
-#include <editeng/unoedhlp.hxx>
#include "accessibility.hxx"
diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx
index 5431b9f85b37..0ea2c2f3686e 100644
--- a/starmath/source/accessibility.hxx
+++ b/starmath/source/accessibility.hxx
@@ -28,11 +28,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/Reference.h>
#include <cppuhelper/implbase.hxx>
-#include <svl/SfxBroadcaster.hxx>
-#include <editeng/editeng.hxx>
-#include <editeng/unoedsrc.hxx>
-#include <edit.hxx>
#include <view.hxx>
class SmDocShell;
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 156b61b8b2d5..16e6d67b7312 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -19,7 +19,6 @@
#include <svl/itemset.hxx>
#include <svl/intitem.hxx>
-#include <svl/itempool.hxx>
#include <svl/eitem.hxx>
#include <svl/languageoptions.hxx>
#include <unotools/configmgr.hxx>
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index dde2dd1cfc6b..23034ede3e3c 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -49,12 +49,7 @@
#include <svl/stritem.hxx>
#include <svl/undo.hxx>
#include <svl/whiter.hxx>
-#include <editeng/editstat.hxx>
-#include <editeng/eeitem.hxx>
-#include <editeng/fhgtitem.hxx>
-#include <editeng/fontitem.hxx>
#include <vcl/mapmod.hxx>
-#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <tools/mapunit.hxx>
#include <vcl/settings.hxx>
@@ -63,6 +58,7 @@
#include <action.hxx>
#include <dialog.hxx>
#include <format.hxx>
+#include <parse.hxx>
#include <starmath.hrc>
#include <strings.hrc>
#include <smmod.hxx>
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index e8e79a24e12c..6b192a930d97 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -31,7 +31,6 @@
#include <sfx2/sfxsids.hrc>
#include <svl/stritem.hxx>
#include <sfx2/viewfrm.hxx>
-#include <svx/AccessibleTextHelper.hxx>
#include <osl/diagnose.h>
#include <edit.hxx>
@@ -40,7 +39,6 @@
#include <document.hxx>
#include <cfgitem.hxx>
#include <smediteng.hxx>
-#include "accessibility.hxx"
using namespace com::sun::star::accessibility;
using namespace com::sun::star;
diff --git a/starmath/source/mathml/export.cxx b/starmath/source/mathml/export.cxx
index 554bb1b0d5d1..b7b7d6c82733 100644
--- a/starmath/source/mathml/export.cxx
+++ b/starmath/source/mathml/export.cxx
@@ -22,6 +22,7 @@
#include <mathml/iterator.hxx>
// LO tools to use
+#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/uno/Any.h>
@@ -29,27 +30,22 @@
#include <com/sun/star/xml/sax/Writer.hpp>
// Extra LO tools
-#include <comphelper/fileformat.h>
#include <comphelper/genericpropertyset.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysetinfo.hxx>
-#include <sax/tools/converter.hxx>
#include <sfx2/frame.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/sfxsids.hrc>
-#include <sot/storage.hxx>
#include <svl/itemset.hxx>
#include <svl/stritem.hxx>
#include <unotools/streamwrap.hxx>
#include <xmloff/namespacemap.hxx>
// Our starmath tools
-#include <cfgitem.hxx>
#include <document.hxx>
#include <smmod.hxx>
#include <strings.hrc>
#include <unomodel.hxx>
-#include <utility.hxx>
#include <xparsmlbase.hxx>
#include <starmathdatabase.hxx>
diff --git a/starmath/source/mathml/import.cxx b/starmath/source/mathml/import.cxx
index a9af99c07949..2e3e390c1785 100644
--- a/starmath/source/mathml/import.cxx
+++ b/starmath/source/mathml/import.cxx
@@ -32,27 +32,22 @@
#include <sfx2/docfile.hxx>
#include <sfx2/frame.hxx>
#include <sfx2/sfxsids.hrc>
-#include <sfx2/sfxmodelfactory.hxx>
#include <sot/storage.hxx>
#include <svtools/sfxecode.hxx>
#include <svl/itemset.hxx>
#include <svl/stritem.hxx>
-#include <sax/tools/converter.hxx>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
-#include <tools/diagnose_ex.h>
#include <unotools/streamwrap.hxx>
#include <xmloff/DocumentSettingsContext.hxx>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmluconv.hxx>
// Our starmath tools
#include <cfgitem.hxx>
#include <document.hxx>
#include <xparsmlbase.hxx>
-#include <utility.hxx>
#include <smmod.hxx>
#include <starmathdatabase.hxx>
#include <unomodel.hxx>
diff --git a/starmath/source/mathml/iterator.cxx b/starmath/source/mathml/iterator.cxx
index 481ff799689c..cfa9a0b78865 100644
--- a/starmath/source/mathml/iterator.cxx
+++ b/starmath/source/mathml/iterator.cxx
@@ -9,8 +9,6 @@
#include <mathml/iterator.hxx>
-#include <stdlib.h>
-
/** The purpose of this iterator is to be able to iterate threw an infinite element tree
* infinite -> as much as your memory can hold
* No call-backs that will end up in out of stack
diff --git a/starmath/source/mathml/mathmlexport.cxx b/starmath/source/mathml/mathmlexport.cxx
index ec8bb1d61395..b52b447b3439 100644
--- a/starmath/source/mathml/mathmlexport.cxx
+++ b/starmath/source/mathml/mathmlexport.cxx
@@ -37,7 +37,6 @@
#include <sfx2/docfile.hxx>
#include <sfx2/sfxsids.hrc>
#include <osl/diagnose.h>
-#include <unotools/saveopt.hxx>
#include <sot/storage.hxx>
#include <svl/itemset.hxx>
#include <svl/stritem.hxx>
diff --git a/starmath/source/mathml/starmathdatabase.cxx b/starmath/source/mathml/starmathdatabase.cxx
index 9a45ff0edacf..d52a5fa37cdc 100644
--- a/starmath/source/mathml/starmathdatabase.cxx
+++ b/starmath/source/mathml/starmathdatabase.cxx
@@ -18,6 +18,7 @@
*/
#include <starmathdatabase.hxx>
+#include <types.hxx>
SmToken starmathdatabase::Identify_SmXMLOperatorContext_Impl(sal_Unicode cChar, bool bIsStretchy)
{
diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx
index 995595df20d6..0941edc1acb2 100644
--- a/starmath/source/mathtype.hxx
+++ b/starmath/source/mathtype.hxx
@@ -21,6 +21,8 @@
#include <node.hxx>
+#include <set>
+
class SfxMedium;
class SotStorage;
class SvStream;
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 14d42334c61e..66daec9d241d 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -18,6 +18,7 @@
*/
#include <parse.hxx>
+#include <parse5.hxx>
#include <smmod.hxx>
#include <cfgitem.hxx>
diff --git a/starmath/source/parse5.cxx b/starmath/source/parse5.cxx
index 2fc1395ebf8d..60e341bab71d 100644
--- a/starmath/source/parse5.cxx
+++ b/starmath/source/parse5.cxx
@@ -32,6 +32,8 @@
#include <cfgitem.hxx>
#include <starmathdatabase.hxx>
+#include <stack>
+
using namespace ::com::sun::star::i18n;
//Definition of math keywords
diff --git a/starmath/source/smediteng.cxx b/starmath/source/smediteng.cxx
index ca1592eb2add..5560d501ef5a 100644
--- a/starmath/source/smediteng.cxx
+++ b/starmath/source/smediteng.cxx
@@ -10,13 +10,15 @@
#include <smmod.hxx>
#include <cfgitem.hxx>
-#include <svx/weldeditview.hxx>
#include <vcl/settings.hxx>
-#include <sfx2/viewfrm.hxx>
+#include <editeng/editview.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/fhgtitem.hxx>
+#include <editeng/fontitem.hxx>
#include <svl/itempool.hxx>
#include <svl/itemset.hxx>
+#include <vcl/outdev.hxx>
+#include <vcl/svapp.hxx>
SmEditEngine::SmEditEngine(SfxItemPool* pItemPool)
: EditEngine(pItemPool)