diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-03-16 15:32:37 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-16 18:36:08 +0000 |
commit | b4156ece74b2d3802ea64e9df85b8e1ed43e9631 (patch) | |
tree | 839531f55e9725941b91ea232b54f1621d3b0829 /include | |
parent | 0ff696769088c2da896130dc722662b39a4416e4 (diff) |
use forward declaration for SfxItemSet
Change-Id: I81f5d1ca22868d278662a55443e2038581dd3246
Reviewed-on: https://gerrit.libreoffice.org/35280
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/editobj.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/itemconnect.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/itemwrapper.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/msg.hxx | 11 | ||||
-rw-r--r-- | include/svx/EnhancedCustomShape2d.hxx | 1 | ||||
-rw-r--r-- | include/svx/fntctrl.hxx | 1 |
6 files changed, 9 insertions, 11 deletions
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index da35f32d03fe..509954069b09 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -21,7 +21,6 @@ #define INCLUDED_EDITENG_EDITOBJ_HXX #include <rsc/rscsfx.hxx> -#include <svl/itemset.hxx> #include <svl/itempool.hxx> #include <editeng/eeitem.hxx> #include <editeng/editdata.hxx> @@ -34,7 +33,7 @@ #include <vector> #include <memory> -class SfxItemPool; +class SfxItemSet; class SfxStyleSheetPool; class SvxFieldItem; class SvxFieldData; diff --git a/include/sfx2/itemconnect.hxx b/include/sfx2/itemconnect.hxx index a60d4531038d..f64fa2deff2b 100644 --- a/include/sfx2/itemconnect.hxx +++ b/include/sfx2/itemconnect.hxx @@ -25,6 +25,7 @@ #include <sfx2/dllapi.h> #include <sfx2/itemwrapper.hxx> #include <sfx2/controlwrapper.hxx> +#include <svl/itemset.hxx> #include <memory> diff --git a/include/sfx2/itemwrapper.hxx b/include/sfx2/itemwrapper.hxx index a379a1120ed7..c20f088703ce 100644 --- a/include/sfx2/itemwrapper.hxx +++ b/include/sfx2/itemwrapper.hxx @@ -23,10 +23,9 @@ #include <sal/config.h> #include <sfx2/dllapi.h> #include <svl/eitem.hxx> -#include <svl/stritem.hxx> #include <svl/intitem.hxx> -#include <svl/itemset.hxx> +class SfxItemSet; namespace sfx { diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx index 12fe6e03ad32..d29e21f4b4fc 100644 --- a/include/sfx2/msg.hxx +++ b/include/sfx2/msg.hxx @@ -23,10 +23,14 @@ #include <rtl/string.hxx> #include <rtl/ustring.hxx> #include <sfx2/dllapi.h> -#include <svl/itemset.hxx> #include <o3tl/typed_flags_set.hxx> #include <functional> +class SfxItemPool; +class SfxItemSet; +class SfxPoolItem; +class SfxRequest; + enum class SfxSlotMode { NONE = 0x0000L, // default @@ -56,9 +60,6 @@ namespace o3tl template<> struct typed_flags<SfxSlotMode> : is_typed_flags<SfxSlotMode, 0x13ec72cL> {}; } - -class SfxRequest; - #define SFX_EXEC_STUB( aShellClass, aExecMethod) \ void SfxStub##aShellClass##aExecMethod( \ SfxShell *pShell, SfxRequest& rReq) \ @@ -94,7 +95,7 @@ struct SfxTypeAttrib sal_uInt16 nAID; const char* pName; }; -class SfxPoolItem; + template<class T> SfxPoolItem* createSfxPoolItem() { return T::CreateDefault(); diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx index 6d092febb635..e0db73fdc36b 100644 --- a/include/svx/EnhancedCustomShape2d.hxx +++ b/include/svx/EnhancedCustomShape2d.hxx @@ -42,7 +42,6 @@ class Color; class SdrObject; class SdrPathObj; -class SfxItemSet; enum class HandleFlags { diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index 117ef5c81bf1..84afcfae62b6 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -23,7 +23,6 @@ #include <editeng/svxfont.hxx> #include <svx/svxdllapi.h> #include <svl/itempool.hxx> -#include <svl/itemset.hxx> #include <rtl/ustring.hxx> |