Kaydet (Commit) e1d772de authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Michael Stahl

tdf#42949 Fix IWYU warnings in sw/source/core/*/*hxx

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Idbd13674578be9d4edce5d2a5f45df145474d86d
Reviewed-on: https://gerrit.libreoffice.org/72579
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst c4efffba
...@@ -250,6 +250,20 @@ blacklist: ...@@ -250,6 +250,20 @@ blacklist:
- com/sun/star/text/XRedline.hpp - com/sun/star/text/XRedline.hpp
# sw::UnoImplPtr typedef # sw::UnoImplPtr typedef
- unobaseclass.hxx - unobaseclass.hxx
sw/source/core/access/acccontext.hxx:
# Base class needs complete type
- com/sun/star/accessibility/XAccessibleComponent.hpp
- com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
- com/sun/star/lang/XServiceInfo.hpp
sw/source/core/access/acchyperlink.hxx:
# Base class needs complete type
- com/sun/star/accessibility/XAccessibleHyperlink.hpp
sw/source/core/access/accnotexthyperlink.hxx:
# Base class needs complete type
- com/sun/star/accessibility/XAccessibleHyperlink.hpp
sw/source/core/docnode/cancellablejob.hxx:
# Base class needs complete type
- com/sun/star/util/XCancellable.hpp
sw/source/core/inc/acorrect.hxx: sw/source/core/inc/acorrect.hxx:
# Needed for implicit dtor # Needed for implicit dtor
- svl/itemset.hxx - svl/itemset.hxx
......
...@@ -24,15 +24,12 @@ ...@@ -24,15 +24,12 @@
#include <accmap.hxx> #include <accmap.hxx>
#include <com/sun/star/accessibility/XAccessibleComponent.hpp> #include <com/sun/star/accessibility/XAccessibleComponent.hpp>
#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp> #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <memory> #include <memory>
namespace vcl { class Window; } namespace vcl { class Window; }
class SwAccessibleMap;
class SwCursorShell; class SwCursorShell;
class SdrObject; class SdrObject;
class SwPaM; class SwPaM;
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <com/sun/star/accessibility/XAccessibleGetAccFlowTo.hpp> #include <com/sun/star/accessibility/XAccessibleGetAccFlowTo.hpp>
#include "accselectionhelper.hxx" #include "accselectionhelper.hxx"
class VclSimpleEvent;
// base class for SwAccessibleDocument (in this same header file) and // base class for SwAccessibleDocument (in this same header file) and
// SwAccessiblePreview // SwAccessiblePreview
class SwAccessibleDocumentBase : public SwAccessibleContext class SwAccessibleDocumentBase : public SwAccessibleContext
......
...@@ -31,9 +31,6 @@ ...@@ -31,9 +31,6 @@
class SwAccessibleMap; class SwAccessibleMap;
class SwFrame; class SwFrame;
class SwViewShell; class SwViewShell;
namespace sw { namespace access {
class SwAccessibleChild;
}}
// Any method of this class must be called with an acquired solar mutex! // Any method of this class must be called with an acquired solar mutex!
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "acccontext.hxx" #include "acccontext.hxx"
#include <calbck.hxx> #include <calbck.hxx>
#include <pam.hxx> #include <ndtyp.hxx>
class SwFlyFrame; class SwFlyFrame;
......
...@@ -25,8 +25,7 @@ ...@@ -25,8 +25,7 @@
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <svl/listener.hxx> #include <svl/listener.hxx>
#include <fmtinfmt.hxx> class SwFormatINetFormat;
class SwAccessibleParagraph; class SwAccessibleParagraph;
class SwTextAttr; class SwTextAttr;
......
...@@ -24,14 +24,8 @@ ...@@ -24,14 +24,8 @@
#include <com/sun/star/accessibility/XAccessibleImage.hpp> #include <com/sun/star/accessibility/XAccessibleImage.hpp>
#include <com/sun/star/accessibility/XAccessibleHypertext.hpp> #include <com/sun/star/accessibility/XAccessibleHypertext.hpp>
namespace utl { class AccessibleRelationSetHelper; }
namespace com { namespace star {
namespace accessibility { struct AccessibleRelation; }
} }
class SwFlyFrame; class SwFlyFrame;
class SwNoTextNode; class SwNoTextNode;
class SwAccessibleNoTextHyperlink;
class SwAccessibleNoTextFrame : public SwAccessibleFrameBase, class SwAccessibleNoTextFrame : public SwAccessibleFrameBase,
public css::accessibility::XAccessibleImage, public css::accessibility::XAccessibleImage,
......
...@@ -20,10 +20,7 @@ ...@@ -20,10 +20,7 @@
#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCNOTEXTHYPERLINK_HXX #define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCNOTEXTHYPERLINK_HXX
#include <com/sun/star/accessibility/XAccessibleHyperlink.hpp> #include <com/sun/star/accessibility/XAccessibleHyperlink.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <fmtinfmt.hxx>
#include <frame.hxx>
#include <layfrm.hxx> #include <layfrm.hxx>
#include "accnotextframe.hxx" #include "accnotextframe.hxx"
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include <com/sun/star/i18n/CharacterIteratorMode.hpp> #include <com/sun/star/i18n/CharacterIteratorMode.hpp>
#include <com/sun/star/i18n/WordType.hpp> #include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/beans/UnknownPropertyException.hpp> #include <com/sun/star/beans/UnknownPropertyException.hpp>
#include <breakit.hxx> #include <breakit.hxx>
#include "accpara.hxx" #include "accpara.hxx"
......
...@@ -26,16 +26,13 @@ ...@@ -26,16 +26,13 @@
#include <com/sun/star/accessibility/XAccessibleTextMarkup.hpp> #include <com/sun/star/accessibility/XAccessibleTextMarkup.hpp>
#include <com/sun/star/accessibility/XAccessibleMultiLineText.hpp> #include <com/sun/star/accessibility/XAccessibleMultiLineText.hpp>
#include <com/sun/star/accessibility/XAccessibleTextSelection.hpp> #include <com/sun/star/accessibility/XAccessibleTextSelection.hpp>
#include <txmsrt.hxx>
#include <com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp> #include <com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp>
#include <com/sun/star/accessibility/XAccessibleTextAttributes.hpp> #include <com/sun/star/accessibility/XAccessibleTextAttributes.hpp>
#include "accselectionhelper.hxx" #include "accselectionhelper.hxx"
#include <calbck.hxx>
#include <unordered_map> #include <unordered_map>
#include <svl/lstner.hxx>
class SwField;
class SwTextFrame; class SwTextFrame;
class SwTextNode;
class SwPaM; class SwPaM;
class SwAccessiblePortionData; class SwAccessiblePortionData;
class SwAccessibleHyperTextData; class SwAccessibleHyperTextData;
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
#include <sal/types.h> #include <sal/types.h>
#include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Reference.h>
#include <com/sun/star/accessibility/XAccessible.hpp>
namespace com::sun::star::accessibility { class XAccessible; }
class SwAccessibleContext; class SwAccessibleContext;
class SwFEShell; class SwFEShell;
......
...@@ -25,10 +25,6 @@ ...@@ -25,10 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleSelection.hpp> #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
class SwFlyFrame; class SwFlyFrame;
namespace utl { class AccessibleRelationSetHelper; }
namespace com { namespace star {
namespace accessibility { struct AccessibleRelation; }
} }
class SwAccessibleTextFrame : public SwAccessibleFrameBase, class SwAccessibleTextFrame : public SwAccessibleFrameBase,
public css::accessibility::XAccessibleSelection public css::accessibility::XAccessibleSelection
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include <com/sun/star/text/TextMarkupType.hpp> #include <com/sun/star/text/TextMarkupType.hpp>
#include <com/sun/star/accessibility/TextSegment.hpp> #include <com/sun/star/accessibility/TextSegment.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <ndtxt.hxx> #include <ndtxt.hxx>
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
#define INCLUDED_SW_SOURCE_CORE_ACCESS_TEXTMARKUPHELPER_HXX #define INCLUDED_SW_SOURCE_CORE_ACCESS_TEXTMARKUPHELPER_HXX
#include <sal/types.h> #include <sal/types.h>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.h> #include <com/sun/star/uno/Sequence.h>
namespace com { namespace sun { namespace star { namespace accessibility { namespace com { namespace sun { namespace star { namespace accessibility {
......
...@@ -19,12 +19,13 @@ ...@@ -19,12 +19,13 @@
#ifndef INCLUDED_SW_SOURCE_CORE_CRSR_BLOCKCURSOR_HXX #ifndef INCLUDED_SW_SOURCE_CORE_CRSR_BLOCKCURSOR_HXX
#define INCLUDED_SW_SOURCE_CORE_CRSR_BLOCKCURSOR_HXX #define INCLUDED_SW_SOURCE_CORE_CRSR_BLOCKCURSOR_HXX
#include <crsrsh.hxx>
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <tools/gen.hxx>
#include <viscrs.hxx>
class SwCursorShell; class SwCursorShell;
struct SwPosition; struct SwPosition;
class Point;
/** Access to the block cursor /** Access to the block cursor
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
class ObservableThread; #include <observablethread.hxx>
class CancellableJob : public ::cppu::WeakImplHelper<css::util::XCancellable> class CancellableJob : public ::cppu::WeakImplHelper<css::util::XCancellable>
{ {
......
...@@ -16,12 +16,17 @@ ...@@ -16,12 +16,17 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include "cancellablejob.hxx"
#include "threadmanager.hxx" #include "threadmanager.hxx"
#include <threadlistener.hxx>
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <algorithm> #include <algorithm>
#include <com/sun/star/util/XJobManager.hpp>
using namespace ::com::sun::star; using namespace ::com::sun::star;
/** class to manage threads /** class to manage threads
......
...@@ -19,23 +19,23 @@ ...@@ -19,23 +19,23 @@
#ifndef INCLUDED_SW_SOURCE_CORE_DOCNODE_THREADMANAGER_HXX #ifndef INCLUDED_SW_SOURCE_CORE_DOCNODE_THREADMANAGER_HXX
#define INCLUDED_SW_SOURCE_CORE_DOCNODE_THREADMANAGER_HXX #define INCLUDED_SW_SOURCE_CORE_DOCNODE_THREADMANAGER_HXX
#include <vcl/timer.hxx>
#include <vcl/idle.hxx> #include <vcl/idle.hxx>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <osl/interlck.h> #include <osl/interlck.h>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <deque> #include <deque>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/weakref.hxx> #include <cppuhelper/weakref.hxx>
#include <com/sun/star/util/XJobManager.hpp>
#include <observablethread.hxx> #include <observablethread.hxx>
#include "cancellablejob.hxx"
#include <threadlistener.hxx>
#include <memory> #include <memory>
#include <ifinishedthreadlistener.hxx>
namespace com::sun::star::util { class XCancellable; }
namespace com::sun::star::util { class XJobManager; }
class IFinishedThreadListener;
class ThreadListener;
class Timer;
/** class to manage threads /** class to manage threads
......
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
#include <swrect.hxx> #include <swrect.hxx>
#include <tools/solar.h>
#include <memory>
#include <vector> #include <vector>
#include <deque> #include <deque>
...@@ -29,7 +32,6 @@ class SwDoc; ...@@ -29,7 +32,6 @@ class SwDoc;
class SwFrame; class SwFrame;
class SwLayoutFrame; class SwLayoutFrame;
class SwPageFrame; class SwPageFrame;
class SwFlyFrame;
class SwSectionFrame; class SwSectionFrame;
class SwSectionNode; class SwSectionNode;
class SvStream; class SvStream;
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <vcl/virdev.hxx> #include <vcl/virdev.hxx>
#include <swtypes.hxx>
#include <swrect.hxx> #include <swrect.hxx>
class SwViewShell; class SwViewShell;
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#define NUM_ATTRIBUTE_STACKS 44 #define NUM_ATTRIBUTE_STACKS 44
#include <memory> #include <memory>
#include <txatbase.hxx>
#include <swfntcch.hxx> #include <swfntcch.hxx>
class SwTextAttr;
class SwAttrSet; class SwAttrSet;
class IDocumentSettingAccess; class IDocumentSettingAccess;
class SwViewShell; class SwViewShell;
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include <editeng/unolingu.hxx> #include <editeng/unolingu.hxx>
#include <breakit.hxx>
#include <dlelstnr.hxx> #include <dlelstnr.hxx>
#include <swmodule.hxx> #include <swmodule.hxx>
#include <IDocumentSettingAccess.hxx> #include <IDocumentSettingAccess.hxx>
......
...@@ -19,12 +19,13 @@ ...@@ -19,12 +19,13 @@
#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX
#define INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX
#include <memory> #include <memory>
#include <com/sun/star/linguistic2/XHyphenatedWord.hpp>
#include <swtypes.hxx>
#include <breakit.hxx>
#include "porrst.hxx" #include "porrst.hxx"
#include <com/sun/star/uno/Reference.hxx>
namespace com::sun::star::linguistic2 { class XHyphenatedWord; }
class SwTextFormatInfo; class SwTextFormatInfo;
class SwTextGuess class SwTextGuess
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX
#define INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX
#include <memory> #include <memory>
#include <com/sun/star/linguistic2/XHyphenatedWord.hpp>
#include <com/sun/star/beans/PropertyValues.hpp> #include <com/sun/star/beans/PropertyValues.hpp>
#include <map> #include <map>
...@@ -34,22 +33,16 @@ ...@@ -34,22 +33,16 @@
#include <editeng/paravertalignitem.hxx> #include <editeng/paravertalignitem.hxx>
#include <sal/log.hxx> #include <sal/log.hxx>
namespace vcl { class Font; } namespace com::sun::star::linguistic2 { class XHyphenatedWord; }
class OutputDevice;
class SvxBrushItem; class SvxBrushItem;
class SvxLineSpacingItem; class SvxLineSpacingItem;
class SvxTabStop; class SvxTabStop;
class SvxTabStopItem; class SvxTabStopItem;
class SwAttrSet;
class SwFieldPortion;
class SwFlyPortion; class SwFlyPortion;
class SwFormatDrop; class SwFormatDrop;
class SwLineLayout;
class SwLinePortion; class SwLinePortion;
class SwParaPortion;
class SwTabPortion; class SwTabPortion;
class SwTextFrame;
class SwTextSizeInfo;
class SwViewOption; class SwViewOption;
class SwViewShell; class SwViewShell;
class SwAttrIter; class SwAttrIter;
......
...@@ -20,16 +20,10 @@ ...@@ -20,16 +20,10 @@
#define INCLUDED_SW_SOURCE_CORE_TEXT_ITRATR_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_ITRATR_HXX
#include <o3tl/deleter.hxx> #include <o3tl/deleter.hxx>
#include "atrhndl.hxx" #include "atrhndl.hxx"
#include <swtypes.hxx>
#include <swfont.hxx> #include <swfont.hxx>
#include "porlay.hxx"
namespace sw { struct MergedPara; } namespace sw { struct MergedPara; }
class OutputDevice;
class SwFont;
class SwpHints;
class SwTextAttr; class SwTextAttr;
class SwAttrSet;
class SwTextNode; class SwTextNode;
class SwRedlineItr; class SwRedlineItr;
class SwViewShell; class SwViewShell;
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "itrpaint.hxx" #include "itrpaint.hxx"
class SwFlyCntPortion; class SwFlyCntPortion;
class SwInterHyphInfo;
class SwDropPortion; class SwDropPortion;
class SwFormatDrop; class SwFormatDrop;
class SwTextAttr; class SwTextAttr;
...@@ -31,8 +30,6 @@ class SwExpandPortion; ...@@ -31,8 +30,6 @@ class SwExpandPortion;
class SwMultiPortion; class SwMultiPortion;
class SwFootnotePortion; class SwFootnotePortion;
namespace sw { class MergedAttrIterByEnd; }
class SwTextFormatter : public SwTextPainter class SwTextFormatter : public SwTextPainter
{ {
const SwFormatDrop *pDropFormat; const SwFormatDrop *pDropFormat;
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <ndtxt.hxx> #include <ndtxt.hxx>
#include <flyfrm.hxx> #include <flyfrm.hxx>
#include <txatbase.hxx>
#include <paratr.hxx> #include <paratr.hxx>
#include <vcl/outdev.hxx> #include <vcl/outdev.hxx>
#include <editeng/paravertalignitem.hxx> #include <editeng/paravertalignitem.hxx>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "itratr.hxx" #include "itratr.hxx"
#include "inftxt.hxx" #include "inftxt.hxx"
class SwTextFrame;
struct SwPosition; struct SwPosition;
struct SwCursorMoveState; struct SwCursorMoveState;
class SwMarginPortion; class SwMarginPortion;
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "porfld.hxx" #include "porfld.hxx"
#include "inftxt.hxx" #include "inftxt.hxx"
#include <blink.hxx> #include <blink.hxx>
#include <fmtornt.hxx>
#include <frmatr.hxx> #include <frmatr.hxx>
#include <frmtool.hxx> #include <frmtool.hxx>
#include <viewsh.hxx> #include <viewsh.hxx>
......
...@@ -22,10 +22,8 @@ ...@@ -22,10 +22,8 @@
#include <swtypes.hxx> #include <swtypes.hxx>
#include <swfont.hxx> #include <swfont.hxx>
#include "porexp.hxx" #include "porexp.hxx"
#include <fmtornt.hxx>
#include <o3tl/enumarray.hxx> #include <o3tl/enumarray.hxx>
class SwFont;
class SvxBrushItem; class SvxBrushItem;
class SwFormatVertOrient; class SwFormatVertOrient;
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <flyfrms.hxx> #include <flyfrms.hxx>
class SwDrawContact; class SwDrawContact;
class SwFlyInContentFrame;
class SwTextFrame; class SwTextFrame;
struct SwCursorMoveState; struct SwCursorMoveState;
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "porfld.hxx" #include "porfld.hxx"
class SwTextFrame;
class SwTextFootnote; class SwTextFootnote;
class SwFootnotePortion : public SwFieldPortion class SwFootnotePortion : public SwFieldPortion
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include <calbck.hxx> #include <calbck.hxx>
#include <doc.hxx> #include <doc.hxx>
#include <swscanner.hxx> #include <swscanner.hxx>
#include <txatbase.hxx>
#include <IDocumentRedlineAccess.hxx> #include <IDocumentRedlineAccess.hxx>
#include <IDocumentSettingAccess.hxx> #include <IDocumentSettingAccess.hxx>
#include <IDocumentContentOperations.hxx> #include <IDocumentContentOperations.hxx>
......
...@@ -19,19 +19,17 @@ ...@@ -19,19 +19,17 @@
#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORLAY_HXX #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORLAY_HXX
#define INCLUDED_SW_SOURCE_CORE_TEXT_PORLAY_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_PORLAY_HXX
#include <tools/fract.hxx>
#include <scriptinfo.hxx> #include <scriptinfo.hxx>
#include <swrect.hxx> #include <swrect.hxx>
#include <swtypes.hxx>
#include "portxt.hxx" #include "portxt.hxx"
#include <swfont.hxx>
#include <vector> #include <vector>
#include <deque> #include <deque>
class SwMarginPortion; class SwMarginPortion;
class SwDropPortion; class SwDropPortion;
class SvStream;
class SwTextFormatter; class SwTextFormatter;
class SwCharRange class SwCharRange
......
...@@ -22,10 +22,7 @@ ...@@ -22,10 +22,7 @@
#include "possiz.hxx" #include "possiz.hxx"
#include <txttypes.hxx> #include <txttypes.hxx>
#include <TextFrameIndex.hxx> #include <TextFrameIndex.hxx>
#include <rtl/ustring.hxx>
#ifdef DBG_UTIL
#include <libxml/xmlwriter.h>
#endif
class SwTextSizeInfo; class SwTextSizeInfo;
class SwTextPaintInfo; class SwTextPaintInfo;
......
...@@ -21,13 +21,11 @@ ...@@ -21,13 +21,11 @@
#include <memory> #include <memory>
#include "porlay.hxx" #include "porlay.hxx"
#include "porexp.hxx"
#include <com/sun/star/text/RubyAdjust.hpp> #include <com/sun/star/text/RubyAdjust.hpp>
class IDocumentSettingAccess;
class SwTextFormatInfo; class SwTextFormatInfo;
class SwFieldPortion;
class SwTextCursor; class SwTextCursor;
class SwLineLayout;
class SwTextPaintInfo; class SwTextPaintInfo;
class SwTextAttr; class SwTextAttr;
class SfxPoolItem; class SfxPoolItem;
......
...@@ -18,8 +18,19 @@ ...@@ -18,8 +18,19 @@
*/ */
#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORRST_HXX #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORRST_HXX
#define INCLUDED_SW_SOURCE_CORE_TEXT_PORRST_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_PORRST_HXX
#include "porlay.hxx"
#include "porexp.hxx" #include <tools/gen.hxx>
#include <TextFrameIndex.hxx>
#include <txttypes.hxx>
#include "porlin.hxx"
#include "portxt.hxx"
#include "possiz.hxx"
class SwPortionHandler;
class SwTextPaintInfo;
class SwTextSizeInfo;
#define LINE_BREAK_WIDTH 150 #define LINE_BREAK_WIDTH 150
#define SPECIAL_FONT_HEIGHT 200 #define SPECIAL_FONT_HEIGHT 200
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <com/sun/star/i18n/ScriptType.hpp> #include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp>
#include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/mslangid.hxx>
#include <breakit.hxx>
#include <hintids.hxx> #include <hintids.hxx>
#include <EnhancedPDFExportHelper.hxx> #include <EnhancedPDFExportHelper.hxx>
#include <SwPortionHandler.hxx> #include <SwPortionHandler.hxx>
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <hintids.hxx> #include <hintids.hxx>
#include <svl/whiter.hxx> #include <svl/whiter.hxx>
#include <com/sun/star/i18n/ScriptType.hpp> #include <com/sun/star/i18n/ScriptType.hpp>
#include <scriptinfo.hxx>
#include <swmodule.hxx> #include <swmodule.hxx>
#include <redline.hxx> #include <redline.hxx>
#include <txtatr.hxx> #include <txtatr.hxx>
......
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_REDLNITR_HXX #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_REDLNITR_HXX
#define INCLUDED_SW_SOURCE_CORE_TEXT_REDLNITR_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_REDLNITR_HXX
#include <ndhints.hxx>
#include <IDocumentRedlineAccess.hxx> #include <IDocumentRedlineAccess.hxx>
#include <swfont.hxx> #include <swfont.hxx>
...@@ -28,6 +26,7 @@ ...@@ -28,6 +26,7 @@
#include <vcl/commandevent.hxx> #include <vcl/commandevent.hxx>
#include <cstddef> #include <cstddef>
#include <deque>
#include <memory> #include <memory>
#include <vector> #include <vector>
......
...@@ -19,11 +19,10 @@ ...@@ -19,11 +19,10 @@
#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_TXTCACHE_HXX #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_TXTCACHE_HXX
#define INCLUDED_SW_SOURCE_CORE_TEXT_TXTCACHE_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_TXTCACHE_HXX
#include <sal/types.h>
#include <swcache.hxx> #include <swcache.hxx>
#include "porlay.hxx"
#include <memory> #include <memory>
class SwParaPortion;
class SwTextFrame; class SwTextFrame;
class SwTextLine : public SwCacheObj class SwTextLine : public SwCacheObj
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <swregion.hxx> #include <swregion.hxx>
#include <dflyobj.hxx> #include <dflyobj.hxx>
#include <flyfrm.hxx> #include <flyfrm.hxx>
#include <fmtornt.hxx>
#include <frmatr.hxx> #include <frmatr.hxx>
#include <frmtool.hxx> #include <frmtool.hxx>
#include "porfly.hxx" #include "porfly.hxx"
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <breakit.hxx>
#include <hintids.hxx> #include <hintids.hxx>
#include <editeng/unolingu.hxx> #include <editeng/unolingu.hxx>
#include <com/sun/star/i18n/WordType.hpp> #include <com/sun/star/i18n/WordType.hpp>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include "txtpaint.hxx" #include "txtpaint.hxx"
#include <txtfrm.hxx>
#include <swrect.hxx> #include <swrect.hxx>
#include <rootfrm.hxx> #include <rootfrm.hxx>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <vcl/outdev.hxx> #include <vcl/outdev.hxx>
class SwRect; // SwSaveClip class SwRect; // SwSaveClip
#include <txtfrm.hxx> class SwTextFrame;
class SwSaveClip final class SwSaveClip final
{ {
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "porlay.hxx" #include "porlay.hxx"
#include "portxt.hxx" #include "portxt.hxx"
#include <sortedobjs.hxx> #include <sortedobjs.hxx>
#include <swfont.hxx>
#include <anchoredobject.hxx> #include <anchoredobject.hxx>
#include <libxml/xmlwriter.h> #include <libxml/xmlwriter.h>
#include <SwPortionHandler.hxx> #include <SwPortionHandler.hxx>
......
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