diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-12-18 21:37:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-12-20 10:40:04 +0100 |
commit | 0c595cff64674c868f38392b6e4511f8133ae1b1 (patch) | |
tree | f7fe1f938ccf4687456da16dba7f83f119d86ad5 /editeng/source/items | |
parent | aa7a23f4f71853b7a256435404b7f73ddefc061e (diff) |
tdf#42949 Fix IWYU warnings in editeng/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I8d56ef332c18b03d44489762bd6bf540b893b599
Reviewed-on: https://gerrit.libreoffice.org/85429
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'editeng/source/items')
-rw-r--r-- | editeng/source/items/bulitem.cxx | 5 | ||||
-rw-r--r-- | editeng/source/items/flditem.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/frmitems.cxx | 21 | ||||
-rw-r--r-- | editeng/source/items/justifyitem.cxx | 4 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 7 | ||||
-rw-r--r-- | editeng/source/items/paperinf.cxx | 2 | ||||
-rw-r--r-- | editeng/source/items/paraitem.cxx | 5 | ||||
-rw-r--r-- | editeng/source/items/svxfont.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/textitem.cxx | 20 | ||||
-rw-r--r-- | editeng/source/items/writingmodeitem.cxx | 4 | ||||
-rw-r--r-- | editeng/source/items/xmlcnitm.cxx | 2 |
11 files changed, 2 insertions, 70 deletions
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx index 2788572adcc8..769179748b40 100644 --- a/editeng/source/items/bulitem.cxx +++ b/editeng/source/items/bulitem.cxx @@ -17,15 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <tools/stream.hxx> #include <vcl/outdev.hxx> #include <editeng/bulletitem.hxx> -#include <tools/tenccvt.hxx> -#include <tools/debug.hxx> -#include <vcl/dibtools.hxx> - SvxBulletItem::SvxBulletItem( sal_uInt16 _nWhich ) : SfxPoolItem(_nWhich) , aFont(OutputDevice::GetDefaultFont( DefaultFontType::FIXED, LANGUAGE_SYSTEM, GetDefaultFontFlags::NONE )) diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index 3325eec528bb..2b57402aef54 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -27,7 +27,6 @@ #include <editeng/measfld.hxx> #include <editeng/unonames.hxx> -#include <tools/tenccvt.hxx> #include <tools/debug.hxx> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 3c93e0b2266a..718e87ee2e37 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -21,24 +21,12 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/script/Converter.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/table/ShadowLocation.hpp> -#include <com/sun/star/table/TableBorder.hpp> #include <com/sun/star/table/ShadowFormat.hpp> -#include <com/sun/star/table/CellRangeAddress.hpp> -#include <com/sun/star/table/CellContentType.hpp> -#include <com/sun/star/table/TableOrientation.hpp> -#include <com/sun/star/util/SortField.hpp> -#include <com/sun/star/util/SortFieldType.hpp> #include <com/sun/star/table/BorderLine2.hpp> #include <com/sun/star/table/BorderLineStyle.hpp> -#include <com/sun/star/table/CellOrientation.hpp> -#include <com/sun/star/table/CellAddress.hpp> -#include <com/sun/star/style/PageStyleLayout.hpp> #include <com/sun/star/style/BreakType.hpp> #include <com/sun/star/style/GraphicLocation.hpp> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Selection.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/text/WritingMode2.hpp> #include <com/sun/star/frame/status/UpperLowerMarginScale.hpp> @@ -50,20 +38,15 @@ #include <sal/log.hxx> #include <i18nutil/unicode.hxx> #include <unotools/ucbstreamhelper.hxx> -#include <limits.h> #include <comphelper/processfactory.hxx> #include <vcl/GraphicObject.hxx> #include <tools/urlobj.hxx> -#include <comphelper/fileformat.h> #include <svl/memberid.h> -#include <svtools/borderhelper.hxx> #include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> #include <tools/mapunit.hxx> #include <vcl/graphicfilter.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> -#include <editeng/editids.hrc> #include <editeng/editrids.hrc> #include <editeng/pbinitem.hxx> #include <editeng/sizeitem.hxx> @@ -82,15 +65,13 @@ #include <editeng/frmdiritem.hxx> #include <editeng/itemtype.hxx> #include <editeng/eerdll.hxx> -#include <editeng/unoprnms.hxx> #include <editeng/memberids.h> -#include <editeng/editerr.hxx> #include <libxml/xmlwriter.h> #include <o3tl/enumrange.hxx> #include <o3tl/safeint.hxx> #include <vcl/GraphicLoader.hxx> -#include <boost/property_tree/json_parser.hpp> +#include <boost/property_tree/ptree.hpp> using namespace ::editeng; using namespace ::com::sun::star; diff --git a/editeng/source/items/justifyitem.cxx b/editeng/source/items/justifyitem.cxx index b8f2c7bdd102..7fe699cb2c36 100644 --- a/editeng/source/items/justifyitem.cxx +++ b/editeng/source/items/justifyitem.cxx @@ -19,12 +19,8 @@ #include <editeng/justifyitem.hxx> #include <editeng/memberids.h> -#include <editeng/editrids.hrc> #include <editeng/eerdll.hxx> -#include <tools/stream.hxx> -#include <tools/debug.hxx> - #include <com/sun/star/table/CellHoriJustify.hpp> #include <com/sun/star/style/ParagraphAdjust.hpp> #include <com/sun/star/table/CellJustifyMethod.hpp> diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 599318fa6db9..67b4dcadafd9 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -23,24 +23,19 @@ #include <editeng/numitem.hxx> -#include <com/sun/star/text/HoriOrientation.hpp> #include <com/sun/star/text/VertOrientation.hpp> -#include <com/sun/star/text/RelOrientation.hpp> #include <editeng/brushitem.hxx> #include <vcl/font.hxx> #include <vcl/settings.hxx> #include <editeng/editids.hrc> #include <editeng/numdef.hxx> -#include <editeng/eeitem.hxx> #include <vcl/graph.hxx> -#include <vcl/window.hxx> +#include <vcl/outdev.hxx> #include <vcl/svapp.hxx> -#include <editeng/unolingu.hxx> #include <com/sun/star/text/XNumberingFormatter.hpp> #include <com/sun/star/text/DefaultNumberingProvider.hpp> #include <com/sun/star/text/XDefaultNumberingProvider.hpp> #include <com/sun/star/style/NumberingType.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <comphelper/fileformat.h> diff --git a/editeng/source/items/paperinf.cxx b/editeng/source/items/paperinf.cxx index b4d92ff45598..ebb5aecaf63f 100644 --- a/editeng/source/items/paperinf.cxx +++ b/editeng/source/items/paperinf.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <limits.h> #include <vcl/print.hxx> -#include <vcl/svapp.hxx> #include <editeng/paperinf.hxx> /*-------------------------------------------------------------------- diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index c2ca935be7c5..fd20e0835d6b 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -22,7 +22,6 @@ #include <com/sun/star/style/LineSpacingMode.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <libxml/xmlwriter.h> -#include <comphelper/fileformat.h> #include <comphelper/extract.hxx> #include <osl/diagnose.h> #include <unotools/localedatawrapper.hxx> @@ -47,12 +46,8 @@ #include <rtl/ustring.hxx> #include <sal/log.hxx> #include <editeng/memberids.h> -#include <editeng/editids.hrc> #include <editeng/itemtype.hxx> #include <editeng/eerdll.hxx> -#include <editeng/paperinf.hxx> -#include <vcl/svapp.hxx> -#include <algorithm> using namespace ::com::sun::star; diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 3ee013a03cf4..891f3e2ab7c0 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -23,7 +23,6 @@ #include <tools/gen.hxx> #include <tools/poly.hxx> #include <unotools/charclass.hxx> -#include <editeng/unolingu.hxx> #include <com/sun/star/i18n/KCharacterType.hpp> #include <editeng/svxfont.hxx> #include <editeng/escapementitem.hxx> diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index cff724ead921..e7e3623f69eb 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -20,10 +20,7 @@ #include <com/sun/star/style/CaseMap.hpp> #include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/frame/status/FontHeight.hpp> -#include <vcl/bitmapex.hxx> -#include <tools/stream.hxx> #include <math.h> -#include <rtl/math.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> #include <unotools/fontdefs.hxx> @@ -31,39 +28,22 @@ #include <unotools/syslocale.hxx> #include <vcl/outdev.hxx> #include <vcl/unohelp.hxx> -#include <editeng/eeitem.hxx> #include <svtools/unitconv.hxx> #include <editeng/editids.hrc> #include <editeng/editrids.hrc> -#include <vcl/vclenum.hxx> -#include <tools/tenccvt.hxx> #include <tools/mapunit.hxx> #include <rtl/ustring.hxx> #include <i18nlangtag/languagetag.hxx> #include <svl/itemset.hxx> -#include <comphelper/fileformat.h> #include <svtools/langtab.hxx> #include <svl/itempool.hxx> #include <svtools/ctrltool.hxx> -#include <vcl/settings.hxx> -#include <vcl/svapp.hxx> -#include <com/sun/star/awt/SimpleFontMetric.hpp> -#include <com/sun/star/awt/FontWeight.hpp> #include <com/sun/star/awt/FontSlant.hpp> -#include <com/sun/star/awt/CharSet.hpp> -#include <com/sun/star/awt/FontWidth.hpp> -#include <com/sun/star/awt/XFont.hpp> -#include <com/sun/star/awt/FontType.hpp> -#include <com/sun/star/awt/FontUnderline.hpp> -#include <com/sun/star/awt/FontStrikeout.hpp> -#include <com/sun/star/awt/FontFamily.hpp> -#include <com/sun/star/awt/FontPitch.hpp> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/text/FontEmphasis.hpp> -#include <com/sun/star/i18n/ScriptType.hpp> #include <editeng/rsiditem.hxx> #include <editeng/memberids.h> #include <editeng/flstitem.hxx> diff --git a/editeng/source/items/writingmodeitem.cxx b/editeng/source/items/writingmodeitem.cxx index d81aec28069f..252c8c0556c0 100644 --- a/editeng/source/items/writingmodeitem.cxx +++ b/editeng/source/items/writingmodeitem.cxx @@ -20,10 +20,6 @@ #include <editeng/writingmodeitem.hxx> #include <editeng/frmdir.hxx> #include <editeng/eerdll.hxx> -#include <editeng/editrids.hrc> -#include <osl/diagnose.h> - -#include <climits> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::text; diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx index be38d75ab5f4..5ee7c47e8d90 100644 --- a/editeng/source/items/xmlcnitm.cxx +++ b/editeng/source/items/xmlcnitm.cxx @@ -18,14 +18,12 @@ */ #include <memory> -#include <climits> #include <com/sun/star/xml/AttributeData.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <o3tl/any.hxx> #include <xmloff/xmlcnimp.hxx> #include <xmloff/unoatrcn.hxx> #include <editeng/xmlcnitm.hxx> -#include <tools/debug.hxx> #include <tools/solar.h> using namespace ::com::sun::star::uno; |