diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-12-26 18:39:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-04 10:23:49 +0100 |
commit | 9ec128f8377182c0c50a4c5e6f21cd9b061ef016 (patch) | |
tree | c7ad31a7104824dee1d820ccda09b42f73d8b0a1 /starmath/inc | |
parent | b29f6e605210477ab9e13f0dad76d83023b360f2 (diff) |
tdf#42949 Fix IWYU warnings in starmath/inc/*hxx & starmath/source/*hxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: If1a597f4c2241dc1ad5687d81199bbc5745e711f
Reviewed-on: https://gerrit.libreoffice.org/65624
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/ElementsDockingWindow.hxx | 1 | ||||
-rw-r--r-- | starmath/inc/dialog.hxx | 11 | ||||
-rw-r--r-- | starmath/inc/document.hxx | 8 | ||||
-rw-r--r-- | starmath/inc/edit.hxx | 6 | ||||
-rw-r--r-- | starmath/inc/parse.hxx | 13 | ||||
-rw-r--r-- | starmath/inc/rect.hxx | 3 | ||||
-rw-r--r-- | starmath/inc/smmod.hxx | 5 | ||||
-rw-r--r-- | starmath/inc/starmath.hrc | 2 | ||||
-rw-r--r-- | starmath/inc/symbol.hxx | 5 | ||||
-rw-r--r-- | starmath/inc/token.hxx | 1 | ||||
-rw-r--r-- | starmath/inc/unomodel.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/view.hxx | 7 |
12 files changed, 28 insertions, 36 deletions
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx index 1e1cf4111bff..1e938f3e30e0 100644 --- a/starmath/inc/ElementsDockingWindow.hxx +++ b/starmath/inc/ElementsDockingWindow.hxx @@ -21,7 +21,6 @@ #define INCLUDED_STARMATH_INC_ELEMENTSDOCKINGWINDOW_HXX #include <sfx2/dockwin.hxx> -#include <svx/dlgctrl.hxx> #include <vcl/scrbar.hxx> #include "format.hxx" diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index 2e2300a9aa64..63426947f059 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -20,17 +20,16 @@ #define INCLUDED_STARMATH_INC_DIALOG_HXX #include <sfx2/tabdlg.hxx> -#include <svx/charmap.hxx> -#include <sfx2/basedlgs.hxx> #include <vcl/outdev.hxx> -#include <svtools/ctrlbox.hxx> -#include <svtools/ctrltool.hxx> -#include "utility.hxx" -#include "format.hxx" +#include <vcl/customweld.hxx> #include "symbol.hxx" #include <memory> class SubsetMap; +class SmFormat; +class FontList; +class SvxShowCharSet; + #define CATEGORY_NONE 0xFFFF /**************************************************************************/ diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 5f7e91ff83c1..311cece64cdb 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -24,28 +24,26 @@ #include <rtl/strbuf.hxx> #include <sfx2/docfac.hxx> #include <sfx2/objsh.hxx> -#include <sot/storage.hxx> #include <svl/lstner.hxx> -#include <vcl/jobset.hxx> -#include <vcl/virdev.hxx> #include <sax/fshelper.hxx> #include <unotools/lingucfg.hxx> #include <oox/core/filterbase.hxx> -#include <oox/mathml/import.hxx> #include <oox/export/utils.hxx> #include <memory> #include <set> #include "format.hxx" +#include "node.hxx" #include "parse.hxx" -#include "smmod.hxx" #include "smdllapi.hxx" class SfxPrinter; class Printer; class SmCursor; +namespace oox { namespace formulaimport { class XmlStream; } } + #define STAROFFICE_XML "StarOffice XML (Math)" #define MATHML_XML "MathML XML (Math)" diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx index fad4ac4fc1ab..41d070eacef3 100644 --- a/starmath/inc/edit.hxx +++ b/starmath/inc/edit.hxx @@ -20,11 +20,9 @@ #define INCLUDED_STARMATH_INC_EDIT_HXX #include <vcl/window.hxx> -#include <vcl/timer.hxx> #include <vcl/idle.hxx> #include <vcl/transfer.hxx> #include <editeng/editdata.hxx> -#include <svtools/colorcfg.hxx> #include <memory> class SmDocShell; @@ -35,10 +33,12 @@ class EditStatus; class ScrollBar; class ScrollBarBox; class DataChangedEvent; -class Menu; class SmCmdBoxWindow; class SmEditAccessible; class CommandEvent; +class Timer; + +namespace svtools { class ColorConfig; } void SmGetLeftSelectionPart(const ESelection &rSelection, sal_Int32 &nPara, sal_uInt16 &nPos); diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 544ab1cf7dcb..2d6036bb8df1 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -24,10 +24,19 @@ #include <set> #include <vector> -#include "types.hxx" #include "token.hxx" #include "error.hxx" -#include "node.hxx" + +class SmBlankNode; +class SmBracebodyNode; +class SmExpressionNode; +class SmGlyphSpecialNode; +class SmNode; +class SmOperNode; +class SmSpecialNode; +class SmStructureNode; +class SmTableNode; +class SmTextNode; #define DEPTH_LIMIT 1024 diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx index f48cc60554bd..8d0bbe931d51 100644 --- a/starmath/inc/rect.hxx +++ b/starmath/inc/rect.hxx @@ -24,9 +24,8 @@ #include <sal/log.hxx> #include <tools/gen.hxx> #include <vcl/outdev.hxx> -#include <vcl/metric.hxx> -#include "format.hxx" +class SmFormat; inline long SmFromTo(long nFrom, long nTo, double fRelDist) diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx index 8080028aa44b..b225b654a8e5 100644 --- a/starmath/inc/smmod.hxx +++ b/starmath/inc/smmod.hxx @@ -20,14 +20,13 @@ #ifndef INCLUDED_STARMATH_INC_SMMOD_HXX #define INCLUDED_STARMATH_INC_SMMOD_HXX -#include <svl/lstner.hxx> -#include <svtools/colorcfg.hxx> - #include <sfx2/module.hxx> #include <unotools/options.hxx> #include <memory> +namespace svtools { class ColorConfig; } + class SfxObjectFactory; class SmSymbolManager; class SmMathConfig; diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc index 6f07991c54b5..60fd52e7cade 100644 --- a/starmath/inc/starmath.hrc +++ b/starmath/inc/starmath.hrc @@ -21,8 +21,6 @@ #define INCLUDED_STARMATH_INC_STARMATH_HRC #include <svl/solar.hrc> -#include <sfx2/sfxsids.hrc> -#include <editeng/memberids.h> #define SID_NEXTERR (SID_SMA_START + 1) #define SID_PREVERR (SID_SMA_START + 2) diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index 7a3a79cd6210..cd40e245c910 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -20,16 +20,11 @@ #ifndef INCLUDED_STARMATH_INC_SYMBOL_HXX #define INCLUDED_STARMATH_INC_SYMBOL_HXX -#include <vcl/font.hxx> -#include <svl/lstner.hxx> - #include <map> #include <vector> #include <set> -#include "unomodel.hxx" #include "utility.hxx" -#include "smmod.hxx" #define SYMBOL_NONE 0xFFFF diff --git a/starmath/inc/token.hxx b/starmath/inc/token.hxx index 30de715eddea..c2b948bd7b70 100644 --- a/starmath/inc/token.hxx +++ b/starmath/inc/token.hxx @@ -21,7 +21,6 @@ #include <sal/types.h> #include <rtl/ustring.hxx> -#include <tools/solar.h> #include <o3tl/typed_flags_set.hxx> // TokenGroups diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index 4bf5a463b396..1944f15aa5e5 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -19,8 +19,6 @@ #ifndef INCLUDED_STARMATH_INC_UNOMODEL_HXX #define INCLUDED_STARMATH_INC_UNOMODEL_HXX -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/view/XRenderable.hpp> diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 43221c4a66d2..fab51dd8affb 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -29,18 +29,17 @@ #include <svtools/scrwin.hxx> #include <sfx2/ctrlitem.hxx> #include <sfx2/shell.hxx> -#include <sfx2/viewfac.hxx> #include <sfx2/viewfrm.hxx> #include <vcl/timer.hxx> -#include <svtools/colorcfg.hxx> #include "document.hxx" #include "edit.hxx" -#include "node.hxx" -class SmDocShell; class SmViewShell; class SmPrintUIOptions; class SmGraphicAccessible; +class SmNode; + +namespace svtools { class ColorConfig; } class SmGraphicWindow final : public ScrollableWindow { |