summaryrefslogtreecommitdiff
path: root/sw/inc/unostyle.hxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2019-01-05 00:12:44 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-11 11:04:53 +0100
commit48ba605c546dcd223e45d7b5a8e71998f945cadf (patch)
treeaeadb5dfa48694bb4ef02d0de6970edb42c8950d /sw/inc/unostyle.hxx
parentdad7a53f1106a6ecc344caa902b07726b8eb59ad (diff)
tdf#42949 Fix IWYU warnings in sw/inc/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. - Also fix .h / .hrc files - Remove a bit of duplication from the .yaml file Change-Id: I22145a79343497678e481d882544eb08e765312a Reviewed-on: https://gerrit.libreoffice.org/65878 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc/unostyle.hxx')
-rw-r--r--sw/inc/unostyle.hxx19
1 files changed, 3 insertions, 16 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 4d60d9614630..5f2470f87b9d 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -20,19 +20,14 @@
#define INCLUDED_SW_INC_UNOSTYLE_HXX
#include <svl/style.hxx>
-#include <svl/lstner.hxx>
#include "unocoll.hxx"
-#include "unomap.hxx"
+#include "tblafmt.hxx"
#include <com/sun/star/style/XStyle.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/style/XStyleLoader.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
-#include <com/sun/star/beans/XMultiPropertyStates.hpp>
#include <cppuhelper/implbase.hxx>
-#include <com/sun/star/document/XEventsSupplier.hpp>
#include "calbck.hxx"
#include <com/sun/star/style/XAutoStyleFamily.hpp>
@@ -43,17 +38,11 @@
#include <memory>
#include <map>
+namespace com { namespace sun { namespace star { namespace document { class XEventsSupplier; } } } }
+
class SwDocShell;
-class SfxItemPropertySet;
-class SwXStyle;
-class SwStyleProperties_Impl;
class SwAutoStylesEnumImpl;
-class IStyleAccess;
class SfxItemSet;
-namespace sw
-{
- class XStyleFamily;
-};
class SwXStyleFamilies : public cppu::WeakImplHelper
<
@@ -240,7 +229,6 @@ protected:
};
-class SwTableAutoFormat;
typedef std::map<OUString, sal_Int32> CellStyleNameMap;
/// A text table style is a uno api wrapper for a SwTableAutoFormat
@@ -336,7 +324,6 @@ public:
static css::uno::Reference<css::style::XStyle> CreateXTextTableStyle(SwDocShell* pDocShell, const OUString& rTableAutoFormatName);
};
-class SwBoxAutoFormat;
/// A text cell style is a uno api wrapper for a SwBoxAutoFormat core class
class SwXTextCellStyle : public cppu::WeakImplHelper
<