diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2021-04-01 09:40:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-04-09 11:56:36 +0200 |
commit | 2633d5f97ff45cc4a7f016bee1f2e8f92a60d2fb (patch) | |
tree | 248eafb1e97bf19315d698d1243c7f74dad40a09 /sd | |
parent | 28a9a92105f3155d82fd9e31095efabd3ec706ea (diff) |
Recheck include/ with IWYU
See tdf#42949 for motivation
Change-Id: Ifc253bf800bb1468b5774663a93f4fb30bec81d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113657
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd')
35 files changed, 35 insertions, 0 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 22431385ea17..a55c9b61f023 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -91,6 +91,7 @@ #include <comphelper/sequenceashashmap.hxx> #include <comphelper/graphicmimetype.hxx> #include <comphelper/lok.hxx> +#include <sfx2/linkmgr.hxx> #include <vcl/filter/PngImageReader.hxx> #include <vcl/BitmapReadAccess.hxx> #include <vcl/dibtools.hxx> diff --git a/sd/source/core/shapelist.cxx b/sd/source/core/shapelist.cxx index 879302f5fa43..0991cc464a57 100644 --- a/sd/source/core/shapelist.cxx +++ b/sd/source/core/shapelist.cxx @@ -18,6 +18,7 @@ */ #include <svx/svdobj.hxx> +#include <osl/diagnose.h> #include <shapelist.hxx> #include <algorithm> diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx index c34fa1bc78a6..efa0a0bce0b5 100644 --- a/sd/source/filter/pdf/sdpdffilter.cxx +++ b/sd/source/filter/pdf/sdpdffilter.cxx @@ -21,6 +21,7 @@ #include <sfx2/docfile.hxx> #include <svx/svdograf.hxx> +#include <o3tl/safeint.hxx> #include <sdpage.hxx> #include <drawdoc.hxx> diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx index cc0b37afd913..7c623020c0a0 100644 --- a/sd/source/filter/ppt/ppt97animations.cxx +++ b/sd/source/filter/ppt/ppt97animations.cxx @@ -24,6 +24,7 @@ #include <tools/stream.hxx> #include <svx/unoapi.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <CustomAnimationPreset.hxx> #include <com/sun/star/presentation/TextAnimationType.hpp> #include <com/sun/star/presentation/EffectNodeType.hpp> diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 02afa719863d..48f354a67a1d 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -57,6 +57,7 @@ #include <rtl/ustrbuf.hxx> #include <rtl/math.hxx> #include <tools/debug.hxx> +#include <osl/diagnose.h> #include <svx/svdotext.hxx> #include <editeng/outlobj.hxx> diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx index a9fcbc511f79..a5eb94e7d739 100644 --- a/sd/source/ui/app/optsitem.cxx +++ b/sd/source/ui/app/optsitem.cxx @@ -26,6 +26,7 @@ #include <tools/helpers.hxx> #include <unotools/localedatawrapper.hxx> #include <unotools/syslocale.hxx> +#include <osl/diagnose.h> #include <optsitem.hxx> #include <FrameView.hxx> diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx index 2ea60b588ef9..20ff418808df 100644 --- a/sd/source/ui/app/sdmod2.cxx +++ b/sd/source/ui/app/sdmod2.cxx @@ -28,6 +28,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/docfile.hxx> +#include <osl/diagnose.h> #include <editeng/measfld.hxx> #include <editeng/editstat.hxx> diff --git a/sd/source/ui/dlg/masterlayoutdlg.cxx b/sd/source/ui/dlg/masterlayoutdlg.cxx index d5bac1c6a328..ce4e069b0737 100644 --- a/sd/source/ui/dlg/masterlayoutdlg.cxx +++ b/sd/source/ui/dlg/masterlayoutdlg.cxx @@ -20,6 +20,7 @@ #include <masterlayoutdlg.hxx> #include <drawdoc.hxx> #include <sdpage.hxx> +#include <osl/diagnose.h> using namespace ::sd; diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index d782010fd87a..63fd24cb91aa 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -44,6 +44,7 @@ #include <svl/urihelper.hxx> #include <sfx2/filedlghelper.hxx> #include <svx/drawitem.hxx> +#include <osl/diagnose.h> #include <View.hxx> #include <sdresid.hxx> #include <tpaction.hxx> diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx index 093d0a70f916..d0370457f869 100644 --- a/sd/source/ui/func/fuconarc.cxx +++ b/sd/source/ui/func/fuconarc.cxx @@ -25,6 +25,7 @@ #include <sfx2/dispatch.hxx> #include <svx/svdobj.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <svx/svxids.hrc> diff --git a/sd/source/ui/func/fuconbez.cxx b/sd/source/ui/func/fuconbez.cxx index ee7099819bdf..f88c0d6bf463 100644 --- a/sd/source/ui/func/fuconbez.cxx +++ b/sd/source/ui/func/fuconbez.cxx @@ -27,6 +27,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/request.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <svx/svxids.hrc> #include <svx/svdpagv.hxx> diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx index 0d303efaedf5..26be546af0c9 100644 --- a/sd/source/ui/func/fuconrec.cxx +++ b/sd/source/ui/func/fuconrec.cxx @@ -60,6 +60,7 @@ #include <basegfx/polygon/b2dpolygon.hxx> #include <svx/xfillit0.hxx> #include <svx/signaturelinehelper.hxx> +#include <osl/diagnose.h> #include <sdresid.hxx> #include <View.hxx> diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx index be5a00c89c44..11e97a3bc7ed 100644 --- a/sd/source/ui/func/futext.cxx +++ b/sd/source/ui/func/futext.cxx @@ -43,6 +43,7 @@ #include <svx/sdr/overlay/overlaymanager.hxx> #include <sfx2/docfile.hxx> #include <editeng/outlobj.hxx> +#include <osl/diagnose.h> #include <editeng/frmdiritem.hxx> diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx index 3a7f691ad804..fbad335c4b26 100644 --- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx @@ -28,6 +28,7 @@ #include "MasterPageDescriptor.hxx" #include <EventMultiplexer.hxx> #include <DrawDocShell.hxx> +#include <osl/diagnose.h> #include <helpids.h> diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx index db070d25bb4c..a37b3b6ddeb0 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.cxx +++ b/sd/source/ui/sidebar/MasterPageContainer.cxx @@ -45,6 +45,7 @@ #include <osl/getglobalmutex.hxx> #include <xmloff/autolayout.hxx> #include <tools/debug.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx index e79112d06743..025eb7fab554 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx @@ -19,6 +19,7 @@ #include <controller/SlsAnimator.hxx> #include <view/SlideSorterView.hxx> +#include <osl/diagnose.h> namespace sd::slidesorter::controller { diff --git a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx index 538187cdfb8a..c07bbe5b4363 100644 --- a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx @@ -32,6 +32,7 @@ #include <FrameView.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/frame/XController.hpp> +#include <osl/diagnose.h> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx index 1c7be02427b8..59027f5a8177 100644 --- a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx @@ -27,6 +27,7 @@ #include <model/SlsPageDescriptor.hxx> #include <view/SlideSorterView.hxx> #include <view/SlsLayouter.hxx> +#include <osl/diagnose.h> #include <Window.hxx> #include <sdpage.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx index 7c89c89dc925..afa802fec852 100644 --- a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx +++ b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx @@ -25,6 +25,7 @@ #include <model/SlideSorterModel.hxx> #include <model/SlsPageEnumerationProvider.hxx> #include <com/sun/star/datatransfer/dnd/DNDConstants.hpp> +#include <osl/diagnose.h> #include <SlideSorter.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx index df639ae41d48..9854f900c964 100644 --- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx +++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx @@ -28,6 +28,7 @@ #include <model/SlsPageEnumerationProvider.hxx> #include <model/SlideSorterModel.hxx> #include <view/SlideSorterView.hxx> +#include <osl/diagnose.h> #include <sdpage.hxx> #include <tools/debug.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx index ce1a843f42a0..c3e4b74ff761 100644 --- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx @@ -29,6 +29,7 @@ #include <view/SlsLayouter.hxx> #include <Window.hxx> #include <sdpage.hxx> +#include <osl/diagnose.h> #include <vcl/scrbar.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index e3daba4d98b3..27cabfefd921 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -41,6 +41,7 @@ #include <view/SlideSorterView.hxx> #include <view/SlsLayouter.hxx> #include <framework/FrameworkHelper.hxx> +#include <osl/diagnose.h> #include <Window.hxx> #include <sdpage.hxx> #include <drawdoc.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx index ea2cc281f01f..952303c67db1 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx @@ -24,6 +24,7 @@ #include <controller/SlsPageSelector.hxx> #include <controller/SlsFocusManager.hxx> #include <sdpage.hxx> +#include <osl/diagnose.h> namespace sd::slidesorter::controller { diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx index f13aa1b7eb09..c56bd41cff83 100644 --- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx +++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx @@ -41,6 +41,7 @@ #include <Window.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <vcl/svapp.hxx> #include <vcl/scrbar.hxx> #include <vcl/settings.hxx> diff --git a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx index 9bdefa2ef522..63f89b9ca1c1 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx @@ -25,6 +25,7 @@ #include <model/SlideSorterModel.hxx> #include <SlideSorter.hxx> #include <Window.hxx> +#include <osl/diagnose.h> #include <memory> #include <set> diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx index 6dc956516269..be6ce4b3ef2c 100644 --- a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx +++ b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx @@ -31,6 +31,7 @@ #include <sdpage.hxx> #include <vcl/virdev.hxx> #include <CustomAnimationEffect.hxx> +#include <osl/diagnose.h> #include <memory> using namespace ::drawinglayer::primitive2d; diff --git a/sd/source/ui/slidesorter/view/SlsToolTip.cxx b/sd/source/ui/slidesorter/view/SlsToolTip.cxx index 374df4b6328e..fa24cbd4c94c 100644 --- a/sd/source/ui/slidesorter/view/SlsToolTip.cxx +++ b/sd/source/ui/slidesorter/view/SlsToolTip.cxx @@ -27,6 +27,7 @@ #include <sdresid.hxx> #include <strings.hrc> +#include <osl/diagnose.h> #include <vcl/settings.hxx> #include <vcl/help.hxx> diff --git a/sd/source/ui/view/FormShellManager.cxx b/sd/source/ui/view/FormShellManager.cxx index d780b0c4e0d1..c9126714cc24 100644 --- a/sd/source/ui/view/FormShellManager.cxx +++ b/sd/source/ui/view/FormShellManager.cxx @@ -26,6 +26,7 @@ #include <Window.hxx> #include <vcl/vclevent.hxx> #include <svx/fmshell.hxx> +#include <osl/diagnose.h> namespace sd { diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx index c37c737023a8..e839e71b9ba4 100644 --- a/sd/source/ui/view/OutlinerIterator.cxx +++ b/sd/source/ui/view/OutlinerIterator.cxx @@ -21,6 +21,7 @@ #include <OutlinerIteratorImpl.hxx> #include <svx/svditer.hxx> #include <tools/debug.hxx> +#include <osl/diagnose.h> #include <Outliner.hxx> #include <drawdoc.hxx> diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index eb91e49ab928..413199c0e7d3 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -41,6 +41,7 @@ #include <tools/debug.hxx> #include <tools/link.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <map> #include <utility> diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index 08081f9b153e..0628fd865420 100644 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -29,6 +29,7 @@ #include <svx/svxids.hrc> #include <svx/fmshell.hxx> #include <vcl/vclevent.hxx> +#include <osl/diagnose.h> #include <iterator> #include <list> diff --git a/sd/source/ui/view/drviewsb.cxx b/sd/source/ui/view/drviewsb.cxx index fb730f599da3..5bc741c91269 100644 --- a/sd/source/ui/view/drviewsb.cxx +++ b/sd/source/ui/view/drviewsb.cxx @@ -22,6 +22,7 @@ #include <sfx2/dispatch.hxx> #include <svx/fmshell.hxx> #include <svx/svxdlg.hxx> +#include <osl/diagnose.h> #include <app.hrc> diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx index 691580927671..9729fe2d4b97 100644 --- a/sd/source/ui/view/frmview.cxx +++ b/sd/source/ui/view/frmview.cxx @@ -26,6 +26,7 @@ #include <unokywds.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <vector> #include <ViewShell.hxx> diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index 90a1f599d2fe..4bca10f3b797 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -45,6 +45,7 @@ #include <svx/svxids.hrc> #include <toolkit/helper/vclunohelper.hxx> #include <svtools/embedhlp.hxx> +#include <osl/diagnose.h> #include <DrawDocShell.hxx> #include <fupoor.hxx> #include <tablefunction.hxx> diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index 8d68fe58c017..818cc4e8d298 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -38,6 +38,7 @@ #include <svtools/sfxecode.hxx> #include <unotools/moduleoptions.hxx> #include <comphelper/classids.hxx> +#include <osl/diagnose.h> #include <strings.hrc> #include <app.hrc> |