Kaydet (Commit) baf3ad4d authored tarafından Miklos Vajna's avatar Miklos Vajna

Fix some IWYU warnings

Change-Id: I85a096505b0de98fd1de6179b9239318622fc34a
Reviewed-on: https://gerrit.libreoffice.org/48933Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst f11a4759
......@@ -27,18 +27,15 @@
#include <list>
#include <memory>
#include <vector>
#include <editeng/outlobj.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <tools/link.hxx>
#include "swrect.hxx"
#include <unotools/configitem.hxx>
#include <unotools/options.hxx>
#include <com/sun/star/uno/Any.hxx>
#include "SidebarWindowsTypes.hxx"
#include <svl/lstner.hxx>
#include <vcl/vclptr.hxx>
#include <LibreOfficeKit/LibreOfficeKitTypes.h>
class OutputDevice;
class SwWrtShell;
......@@ -66,6 +63,7 @@ class SwFrame;
namespace vcl { class Window; }
struct ImplSVEvent;
class OutlinerSearchable;
class OutlinerParaObject;
namespace i18nutil { struct SearchOptions2; }
#define COL_NOTES_SIDEPANE_ARROW_ENABLED RGB_COLORDATA(0,0,0)
......
......@@ -23,9 +23,6 @@
#include <config_features.h>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <sfx2/frmhtmlw.hxx>
#include <vcl/wrkwin.hxx>
#include <sot/storage.hxx>
#include <svl/itemset.hxx>
#include <svl/ownlist.hxx>
......
......@@ -19,9 +19,10 @@
#ifndef INCLUDED_SW_INC_SWDOCIDLE_HXX
#define INCLUDED_SW_INC_SWDOCIDLE_HXX
#include "doc.hxx"
#include <vcl/idle.hxx>
class SwDoc;
namespace sw {
/**
......
......@@ -11,7 +11,6 @@
#ifndef TOXTABSTOPTOKENHANDLER_HXX_
#define TOXTABSTOPTOKENHANDLER_HXX_
#include "swdllapi.h"
#include <rtl/ustring.hxx>
#include <editeng/tstpitem.hxx>
......
......@@ -22,7 +22,6 @@
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include "swdllapi.h"
#include <memory>
#include <vector>
......
......@@ -12,7 +12,6 @@
#define TOXWHITESPACESTRIPPER_HXX_
#include <rtl/ustring.hxx>
#include "swdllapi.h"
#include <vector>
namespace sw {
......
......@@ -34,8 +34,8 @@ class SwUndoParagraphSigning : public SwUndo
{
private:
SwDoc* m_pDoc;
uno::Reference<text::XTextField> m_xField;
uno::Reference<text::XTextContent> m_xParent;
css::uno::Reference<css::text::XTextField> m_xField;
css::uno::Reference<css::text::XTextContent> m_xParent;
OUString m_signature;
OUString m_usage;
OUString m_display;
......@@ -43,8 +43,8 @@ private:
public:
SwUndoParagraphSigning(SwDoc* pDoc,
const uno::Reference<text::XTextField>& xField,
const uno::Reference<text::XTextContent>& xParent,
const css::uno::Reference<css::text::XTextField>& xField,
const css::uno::Reference<css::text::XTextContent>& xParent,
const bool bRemove);
virtual void UndoImpl(::sw::UndoRedoContext&) override;
......
......@@ -19,8 +19,6 @@
#ifndef INCLUDED_SW_INC_ACCESSIBILITYOPTIONS_HXX
#define INCLUDED_SW_INC_ACCESSIBILITYOPTIONS_HXX
#include <tools/solar.h>
struct SwAccessibilityOptions
{
bool bIsAlwaysAutoColor :1;
......
......@@ -25,11 +25,8 @@
#include <osl/mutex.hxx>
#include <svx/IAccessibleViewForwarder.hxx>
#include <svx/IAccessibleParent.hxx>
#include <tools/fract.hxx>
#include <svx/AccessibleControlShape.hxx>
#include <svx/AccessibleShape.hxx>
#include "fesh.hxx"
#include <o3tl/typed_flags_set.hxx>
#include <list>
......@@ -55,6 +52,8 @@ class SwAccessibleSelectedParas_Impl;
class SwRect;
class MapMode;
class SwAccPreviewData;
class SwFEShell;
class Fraction;
struct PreviewPage;
namespace vcl { class Window; }
......
......@@ -20,8 +20,7 @@
#ifndef INCLUDED_SW_INC_AUTHRATR_HXX
#define INCLUDED_SW_INC_AUTHRATR_HXX
#include <tools/solar.h>
#include <tools/color.hxx>
#include <tools/colordata.hxx>
#include "swdllapi.h"
class SW_DLLPUBLIC AuthorCharAttr
......
......@@ -24,7 +24,6 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <com/sun/star/i18n/XScriptTypeDetector.hpp>
#include <com/sun/star/i18n/ForbiddenCharacters.hpp>
#include <i18nlangtag/languagetag.hxx>
#include "swdllapi.h"
......
......@@ -20,17 +20,16 @@
#ifndef INCLUDED_SW_INC_CALBCK_HXX
#define INCLUDED_SW_INC_CALBCK_HXX
#include <svl/hint.hxx>
#include <svl/poolitem.hxx>
#include "swdllapi.h"
#include "ring.hxx"
#include "hintids.hxx"
#include "hints.hxx"
#include <typeinfo>
#include <type_traits>
class SwModify;
class SfxPoolItem;
class SfxHint;
class SwPtrMsgPoolItem;
/*
SwModify and SwClient cooperate in propagating attribute changes.
......
......@@ -24,6 +24,7 @@
#include <tools/solar.h>
#include "calbck.hxx"
#include "frmfmt.hxx"
#include "hints.hxx"
#define STR_SW_EVENT_PAGE_COUNT 0
#define STR_SW_EVENT_MAIL_MERGE 1
......
......@@ -95,6 +95,8 @@ SwAccessibleChild::SwAccessibleChild( const SwFrame* pFrame,
}
SwAccessibleChild::~SwAccessibleChild() = default;
void SwAccessibleChild::Init( const SdrObject* pDrawObj )
{
mpDrawObj = pDrawObj;
......
......@@ -34,6 +34,7 @@ class SwAccessibleChild
{
public:
SwAccessibleChild();
~SwAccessibleChild();
explicit SwAccessibleChild( const SdrObject* pDrawObj );
explicit SwAccessibleChild( const SwFrame* pFrame );
explicit SwAccessibleChild( vcl::Window* pWindow );
......
......@@ -19,6 +19,7 @@
#include <view.hxx>
#include <wrtsh.hxx>
#include <doc.hxx>
#include <docsh.hxx>
#include <viewopt.hxx>
#include <vcl/scheduler.hxx>
......
......@@ -26,6 +26,7 @@
#include <comphelper/classids.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <svtools/embedhlp.hxx>
#include <tools/globname.hxx>
#include <hintids.hxx>
using namespace com::sun::star;
......
......@@ -58,6 +58,7 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <svtools/embedhlp.hxx>
#include <svl/urihelper.hxx>
#include <sfx2/frmdescr.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
......
......@@ -39,6 +39,7 @@
#include <editeng/outliner.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editobj.hxx>
#include <editeng/outlobj.hxx>
#include <comphelper/lok.hxx>
#include <docufld.hxx>
......
......@@ -46,6 +46,7 @@
#include <editeng/outliner.hxx>
#include <editeng/editeng.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/outlobj.hxx>
#include <svl/zforlist.hxx>
#include <svl/undo.hxx>
......
......@@ -73,6 +73,7 @@
#include <editeng/langitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/outliner.hxx>
#include <editeng/outlobj.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/lang.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment