diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-07-01 21:24:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-08-03 10:23:10 +0200 |
commit | 32090b018d9ff81659a4c9ed41c64109ebebe4fc (patch) | |
tree | 2448a8097551d84cd5f201a803a4ad1731e600db /sw | |
parent | da09a3cf14ea2c7690b98ec32639125087bcf18f (diff) |
tdf#42949 Fix IWYU warnings in include/[t-x]*/*hxx
Recheck after 7-0 branchoff
Also drop the now unused file include/vcl/field.hxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I9e54c82f50d1e02a0f99858939cac999fc66f7de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99261
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
45 files changed, 46 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index edb377403043..e97482af86cc 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -31,6 +31,7 @@ #include <oox/drawingml/drawingmltypes.hxx> #include <comphelper/sequenceashashmap.hxx> #include <comphelper/processfactory.hxx> +#include <tools/UnitConversion.hxx> class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx index 26fab6d03426..23aa25f2f2a9 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx @@ -53,6 +53,7 @@ #include <com/sun/star/text/XEndnotesSupplier.hpp> #include <com/sun/star/beans/XPropertyState.hpp> +#include <tools/UnitConversion.hxx> #include <unotools/fltrcfg.hxx> #include <comphelper/sequenceashashmap.hxx> #include <oox/drawingml/drawingmltypes.hxx> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx index 7c215c5c67fa..f05f6251ed48 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx @@ -11,6 +11,8 @@ #include <string> +#include <tools/UnitConversion.hxx> + #include <com/sun/star/awt/XBitmap.hpp> #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/LineStyle.hpp> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx index e405504b9b8b..c592eb7dec07 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx @@ -48,6 +48,7 @@ #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/text/XTextFieldsSupplier.hpp> +#include <tools/UnitConversion.hxx> #include <unotools/fltrcfg.hxx> #include <comphelper/sequenceashashmap.hxx> #include <oox/drawingml/drawingmltypes.hxx> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index c87e1319f13e..a62a3035bf03 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -39,6 +39,7 @@ #include <sfx2/docfile.hxx> #include <sfx2/docfilt.hxx> #include <comphelper/processfactory.hxx> +#include <tools/UnitConversion.hxx> #include <docsh.hxx> #include <ftninfo.hxx> diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx index 323ebeed608f..b893cad50a70 100644 --- a/sw/qa/extras/rtfexport/rtfexport.cxx +++ b/sw/qa/extras/rtfexport/rtfexport.cxx @@ -40,6 +40,7 @@ #include <com/sun/star/text/XBookmarksSupplier.hpp> #include <comphelper/sequenceashashmap.hxx> +#include <tools/UnitConversion.hxx> using namespace css; diff --git a/sw/qa/extras/rtfexport/rtfexport2.cxx b/sw/qa/extras/rtfexport/rtfexport2.cxx index 75226144932c..9025bdc44781 100644 --- a/sw/qa/extras/rtfexport/rtfexport2.cxx +++ b/sw/qa/extras/rtfexport/rtfexport2.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <rtl/ustring.hxx> +#include <tools/UnitConversion.hxx> #include <vcl/outdev.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> diff --git a/sw/qa/extras/rtfexport/rtfexport3.cxx b/sw/qa/extras/rtfexport/rtfexport3.cxx index a04e1bab9752..442a508a355a 100644 --- a/sw/qa/extras/rtfexport/rtfexport3.cxx +++ b/sw/qa/extras/rtfexport/rtfexport3.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/style/TabStop.hpp> #include <comphelper/sequenceashashmap.hxx> +#include <tools/UnitConversion.hxx> using namespace css; diff --git a/sw/qa/extras/rtfexport/rtfexport5.cxx b/sw/qa/extras/rtfexport/rtfexport5.cxx index b430d611fc33..db0771f54984 100644 --- a/sw/qa/extras/rtfexport/rtfexport5.cxx +++ b/sw/qa/extras/rtfexport/rtfexport5.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <rtl/ustring.hxx> +#include <tools/UnitConversion.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <comphelper/sequenceashashmap.hxx> diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index a0dc9958351e..c3fc3df4f15b 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -49,6 +49,7 @@ #include <com/sun/star/beans/XPropertyState.hpp> #include <o3tl/cppunittraitshelper.hxx> +#include <tools/UnitConversion.hxx> #include <rtl/ustring.hxx> #include <vcl/settings.hxx> #include <comphelper/sequenceashashmap.hxx> diff --git a/sw/qa/extras/unowriter/unowriter.cxx b/sw/qa/extras/unowriter/unowriter.cxx index 859c8bff3f4b..73255ceb4ea9 100644 --- a/sw/qa/extras/unowriter/unowriter.cxx +++ b/sw/qa/extras/unowriter/unowriter.cxx @@ -34,6 +34,7 @@ #include <com/sun/star/text/XPageCursor.hpp> #include <comphelper/propertyvalue.hxx> +#include <tools/UnitConversion.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <vcl/graphicfilter.hxx> #include <comphelper/sequenceashashmap.hxx> diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx index fecb25b1b8e5..a8e774e4dfce 100644 --- a/sw/qa/extras/ww8export/ww8export.cxx +++ b/sw/qa/extras/ww8export/ww8export.cxx @@ -38,6 +38,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/request.hxx> #include <comphelper/processfactory.hxx> +#include <tools/UnitConversion.hxx> #include <cmdid.h> #include <envimg.hxx> diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx index 66ba6a7f5717..4806b523cb9b 100644 --- a/sw/source/core/doc/textboxhelper.cxx +++ b/sw/source/core/doc/textboxhelper.cxx @@ -35,6 +35,7 @@ #include <svl/itemiter.hxx> #include <comphelper/sequenceashashmap.hxx> #include <sal/log.hxx> +#include <tools/UnitConversion.hxx> #include <com/sun/star/document/XActionLockable.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 2495deaf5636..33bfd4ede834 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -21,6 +21,7 @@ #include <tools/helpers.hxx> #include <tools/urlobj.hxx> #include <tools/fract.hxx> +#include <tools/UnitConversion.hxx> #include <svl/fstathelper.hxx> #include <vcl/imap.hxx> #include <sfx2/docfile.hxx> diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx index d5cafbe5b509..a1d2622f3c11 100644 --- a/sw/source/core/inc/rootfrm.hxx +++ b/sw/source/core/inc/rootfrm.hxx @@ -24,6 +24,7 @@ #include <doc.hxx> #include <IDocumentTimerAccess.hxx> #include <o3tl/typed_flags_set.hxx> +#include <tools/UnitConversion.hxx> #include <set> #include <vector> diff --git a/sw/source/core/inc/unoflatpara.hxx b/sw/source/core/inc/unoflatpara.hxx index 06f68aba48c5..f35ec6ecc171 100644 --- a/sw/source/core/inc/unoflatpara.hxx +++ b/sw/source/core/inc/unoflatpara.hxx @@ -27,6 +27,7 @@ #include <com/sun/star/text/XFlatParagraph.hpp> #include <com/sun/star/text/XFlatParagraphIterator.hpp> #include <svl/listener.hxx> +#include <tools/solar.h> #include "unotextmarkup.hxx" #include <set> diff --git a/sw/source/core/para/paratr.cxx b/sw/source/core/para/paratr.cxx index e12a7180585c..959a5a78dda9 100644 --- a/sw/source/core/para/paratr.cxx +++ b/sw/source/core/para/paratr.cxx @@ -26,6 +26,7 @@ #include <charfmt.hxx> #include <libxml/xmlwriter.h> #include <osl/diagnose.h> +#include <tools/UnitConversion.hxx> using namespace ::com::sun::star; diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 1c1e23094474..39dd6ba35fb1 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -33,6 +33,7 @@ #include <svx/sdtaitm.hxx> #include <svx/xflclit.hxx> #include <tools/globname.hxx> +#include <tools/UnitConversion.hxx> #include <editeng/memberids.h> #include <swtypes.hxx> #include <cmdid.h> diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index dd83c7440155..d74cf65358f1 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -34,6 +34,7 @@ #include <cppuhelper/interfacecontainer.h> #include <comphelper/interfacecontainer2.hxx> #include <cppuhelper/supportsservice.hxx> +#include <tools/UnitConversion.hxx> #include <vcl/svapp.hxx> #include <i18nlangtag/languagetag.hxx> #include <editeng/memberids.h> diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index 0fbf86e1e17d..817b50f0b638 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -50,6 +50,7 @@ #include <com/sun/star/style/VerticalAlignment.hpp> #include <o3tl/any.hxx> #include <o3tl/enumarray.hxx> +#include <tools/UnitConversion.hxx> #include <vcl/font.hxx> #include <editeng/flstitem.hxx> #include <vcl/metric.hxx> diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index c15123a31717..b7eb5308030e 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -21,6 +21,7 @@ #include <comphelper/documentinfo.hxx> #include <comphelper/string.hxx> #include <vcl/svapp.hxx> +#include <tools/UnitConversion.hxx> #include <vcl/unohelp.hxx> #include <svtools/htmlkywd.hxx> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 6581f93f3834..b2ad20685516 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -94,6 +94,7 @@ #include <svl/grabbagitem.hxx> #include <sfx2/sfxbasemodel.hxx> #include <tools/datetimeutils.hxx> +#include <tools/UnitConversion.hxx> #include <svl/whiter.hxx> #include <rtl/tencinfo.h> #include <sal/log.hxx> diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 22e468d4c65a..aec43227ec52 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -28,6 +28,7 @@ #include <sal/log.hxx> #include <sot/exchange.hxx> #include <svtools/rtfkeywd.hxx> +#include <tools/UnitConversion.hxx> #include <editeng/fontitem.hxx> #include <editeng/tstpitem.hxx> #include <editeng/adjustitem.hxx> diff --git a/sw/source/filter/ww8/writerhelper.cxx b/sw/source/filter/ww8/writerhelper.cxx index 26027a22d57a..f999656c440e 100644 --- a/sw/source/filter/ww8/writerhelper.cxx +++ b/sw/source/filter/ww8/writerhelper.cxx @@ -31,6 +31,7 @@ #include <svl/itemiter.hxx> #include <svx/svdobj.hxx> #include <svx/svdoole2.hxx> +#include <tools/UnitConversion.hxx> #include <editeng/formatbreakitem.hxx> #include <ndtxt.hxx> #include <ndnotxt.hxx> diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx index 3f94e4eb579e..3645b519619e 100644 --- a/sw/source/filter/ww8/wrtww8gr.cxx +++ b/sw/source/filter/ww8/wrtww8gr.cxx @@ -25,6 +25,7 @@ #include <vcl/graphicfilter.hxx> #include <vcl/gdimtf.hxx> #include <svl/itemiter.hxx> +#include <tools/UnitConversion.hxx> #include <svtools/embedhlp.hxx> diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx index 8b5bcdc8f707..cf0c7e6a85ba 100644 --- a/sw/source/filter/xml/xmltexti.cxx +++ b/sw/source/filter/xml/xmltexti.cxx @@ -60,6 +60,7 @@ #include <svl/urihelper.hxx> #include <sfx2/frmdescr.hxx> #include <tools/globname.hxx> +#include <tools/UnitConversion.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx index d55b0cf8a056..d646f9ca8b7b 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.hxx +++ b/sw/source/ui/dbui/mmaddressblockpage.hxx @@ -25,6 +25,7 @@ #include <sfx2/basedlgs.hxx> #include <vcl/textfilter.hxx> #include <svl/lstner.hxx> +#include <vcl/idle.hxx> #include <o3tl/typed_flags_set.hxx> class SwMailMergeWizard; diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx index 3b853f804eb3..1353cbeae114 100644 --- a/sw/source/ui/index/cntex.cxx +++ b/sw/source/ui/index/cntex.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/beans/PropertyValues.hpp> #include <com/sun/star/ucb/XCommandEnvironment.hpp> #include <comphelper/string.hxx> +#include <tools/UnitConversion.hxx> #include <wrtsh.hxx> #include <view.hxx> #include <cnttab.hxx> diff --git a/sw/source/ui/vba/vbainformationhelper.cxx b/sw/source/ui/vba/vbainformationhelper.cxx index 8dc2297469a3..9cda14b7b237 100644 --- a/sw/source/ui/vba/vbainformationhelper.cxx +++ b/sw/source/ui/vba/vbainformationhelper.cxx @@ -19,6 +19,7 @@ #include "vbainformationhelper.hxx" #include <com/sun/star/text/XPageCursor.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <tools/UnitConversion.hxx> #include "wordvbahelper.hxx" #include <docsh.hxx> #include <doc.hxx> diff --git a/sw/source/uibase/app/appopt.cxx b/sw/source/uibase/app/appopt.cxx index 47e0ef408b8d..263017fb4604 100644 --- a/sw/source/uibase/app/appopt.cxx +++ b/sw/source/uibase/app/appopt.cxx @@ -33,6 +33,7 @@ #include <editeng/tstpitem.hxx> #include <svx/optgrid.hxx> #include <svx/dialogs.hrc> +#include <tools/UnitConversion.hxx> #include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/languagetag.hxx> #include <fontcfg.hxx> diff --git a/sw/source/uibase/app/docshini.cxx b/sw/source/uibase/app/docshini.cxx index eb2452150cb3..ec1f31610a71 100644 --- a/sw/source/uibase/app/docshini.cxx +++ b/sw/source/uibase/app/docshini.cxx @@ -31,6 +31,7 @@ #include <sfx2/printer.hxx> #include <svl/asiancfg.hxx> #include <svl/intitem.hxx> +#include <tools/UnitConversion.hxx> #include <editeng/adjustitem.hxx> #include <editeng/autokernitem.hxx> #include <com/sun/star/document/UpdateDocMode.hpp> diff --git a/sw/source/uibase/config/fontcfg.cxx b/sw/source/uibase/config/fontcfg.cxx index 9c81ea8e7588..3792fdb16012 100644 --- a/sw/source/uibase/config/fontcfg.cxx +++ b/sw/source/uibase/config/fontcfg.cxx @@ -20,6 +20,7 @@ #include <fontcfg.hxx> #include <i18nlangtag/mslangid.hxx> #include <osl/diagnose.h> +#include <tools/UnitConversion.hxx> #include <vcl/outdev.hxx> #include <unotools/configmgr.hxx> #include <unotools/lingucfg.hxx> diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index 949aeff1e30d..2ed9abc97bba 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -28,6 +28,7 @@ #include <tools/mapunit.hxx> #include <tools/globname.hxx> +#include <tools/UnitConversion.hxx> #include <itabenum.hxx> #include <modcfg.hxx> #include <caption.hxx> diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx index e537b987b149..22ca1fd44bd2 100644 --- a/sw/source/uibase/config/usrpref.cxx +++ b/sw/source/uibase/config/usrpref.cxx @@ -22,6 +22,7 @@ #include <cstring> #include <osl/diagnose.h> #include <o3tl/any.hxx> +#include <tools/UnitConversion.hxx> #include <unotools/configmgr.hxx> #include <unotools/syslocale.hxx> diff --git a/sw/source/uibase/envelp/envimg.cxx b/sw/source/uibase/envelp/envimg.cxx index 50cf3e9d92e8..e81e368825c8 100644 --- a/sw/source/uibase/envelp/envimg.cxx +++ b/sw/source/uibase/envelp/envimg.cxx @@ -22,6 +22,7 @@ #include <editeng/paperinf.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <rtl/ustrbuf.hxx> +#include <tools/UnitConversion.hxx> #include <unotools/useroptions.hxx> #include <swmodule.hxx> #include <swtypes.hxx> diff --git a/sw/source/uibase/envelp/labelcfg.cxx b/sw/source/uibase/envelp/labelcfg.cxx index 59c252be0a57..590cf5560b4e 100644 --- a/sw/source/uibase/envelp/labelcfg.cxx +++ b/sw/source/uibase/envelp/labelcfg.cxx @@ -23,6 +23,7 @@ #include <swtypes.hxx> #include <labelcfg.hxx> #include <rtl/bootstrap.hxx> +#include <tools/UnitConversion.hxx> #include <unotools/configpaths.hxx> #include <xmlreader/xmlreader.hxx> #include <comphelper/sequence.hxx> diff --git a/sw/source/uibase/envelp/labimg.cxx b/sw/source/uibase/envelp/labimg.cxx index 03a38a853438..8050e843ac05 100644 --- a/sw/source/uibase/envelp/labimg.cxx +++ b/sw/source/uibase/envelp/labimg.cxx @@ -21,6 +21,7 @@ #include <o3tl/any.hxx> #include <osl/diagnose.h> +#include <tools/UnitConversion.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <unotools/useroptions.hxx> #include <swmodule.hxx> diff --git a/sw/source/uibase/inc/swuicnttab.hxx b/sw/source/uibase/inc/swuicnttab.hxx index 1628cf225c34..5274a5f99558 100644 --- a/sw/source/uibase/inc/swuicnttab.hxx +++ b/sw/source/uibase/inc/swuicnttab.hxx @@ -21,6 +21,7 @@ #include <sfx2/tabdlg.hxx> #include <svx/langbox.hxx> +#include <vcl/idle.hxx> #include <vcl/weld.hxx> #include <vcl/customweld.hxx> diff --git a/sw/source/uibase/misc/swruler.cxx b/sw/source/uibase/misc/swruler.cxx index effe189148dc..80ef575f18fc 100644 --- a/sw/source/uibase/misc/swruler.cxx +++ b/sw/source/uibase/misc/swruler.cxx @@ -17,6 +17,7 @@ #include <view.hxx> #include <cmdid.h> #include <sfx2/request.hxx> +#include <tools/UnitConversion.hxx> #include <vcl/commandevent.hxx> #include <vcl/event.hxx> #include <vcl/window.hxx> diff --git a/sw/source/uibase/shells/grfsh.cxx b/sw/source/uibase/shells/grfsh.cxx index df942d4bda64..f792b9429427 100644 --- a/sw/source/uibase/shells/grfsh.cxx +++ b/sw/source/uibase/shells/grfsh.cxx @@ -20,6 +20,7 @@ #include <cmdid.h> #include <hintids.hxx> #include <tools/urlobj.hxx> +#include <tools/UnitConversion.hxx> #include <svl/stritem.hxx> #include <svl/whiter.hxx> #include <svl/urihelper.hxx> diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index 0d722ea03d54..2899138301d2 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -99,6 +99,7 @@ #include <sfx2/lokhelper.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <svtools/embedhlp.hxx> +#include <tools/UnitConversion.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx index 33dc8c268a3c..d62f7f806139 100644 --- a/sw/source/uibase/uiview/viewtab.cxx +++ b/sw/source/uibase/uiview/viewtab.cxx @@ -25,6 +25,7 @@ #include <svx/xflhtit.hxx> #include <svx/xbtmpit.hxx> #include <svx/xfillit0.hxx> +#include <tools/UnitConversion.hxx> #include <editeng/tstpitem.hxx> #include <sfx2/request.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index 0888e448cee9..c0c5f74bfc07 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -26,6 +26,7 @@ #include <rtl/ustrbuf.hxx> #include <svl/itemprop.hxx> #include <tools/urlobj.hxx> +#include <tools/UnitConversion.hxx> #include <vcl/svapp.hxx> #include <unomod.hxx> diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index 464d4192ce15..017a2390aeb4 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -70,6 +70,7 @@ #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> +#include <tools/UnitConversion.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/uibase/utlui/uiitems.cxx b/sw/source/uibase/utlui/uiitems.cxx index e6673587c470..fbb098e74605 100644 --- a/sw/source/uibase/utlui/uiitems.cxx +++ b/sw/source/uibase/utlui/uiitems.cxx @@ -18,6 +18,7 @@ */ #include <editeng/itemtype.hxx> +#include <tools/UnitConversion.hxx> #include <unosett.hxx> #include <swtypes.hxx> |