From 6e385ffadd4842f28a51a1a490ea910cbee6ff4a Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 21 Nov 2014 23:44:48 -0500 Subject: Forward declare SfxFoundCacheArr_Impl and SfxFoundCache_Impl in bindings.hxx. And remove #include from here. Change-Id: I7624444b60ee19f0b5b19e7a7aab0210ddf90d7c --- include/sfx2/bindings.hxx | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'include') diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx index 2fbe66d23369..ad31b6a16ead 100644 --- a/include/sfx2/bindings.hxx +++ b/include/sfx2/bindings.hxx @@ -29,7 +29,6 @@ #include #include #include -#include // some other includes @@ -53,6 +52,8 @@ class SfxBindings_Impl; class Timer; class SfxWorkWindow; class SfxUnoControllerItem; +struct SfxFoundCache_Impl; +class SfxFoundCacheArr_Impl; typedef std::vector SfxUnoControllerArr_Impl; @@ -97,23 +98,6 @@ enum SfxPopupAction SFX_POPUP_SHOW }; -struct SfxFoundCache_Impl -{ - sal_uInt16 nSlotId; // the Slot-Id - sal_uInt16 nWhichId; // If available: Which-Id, else: nSlotId - const SfxSlot* pSlot; // Pointer to - SfxStateCache* pCache; // Pointer to StatusCache, if possible NULL - - SfxFoundCache_Impl(sal_uInt16 nS, sal_uInt16 nW, const SfxSlot *pS, SfxStateCache *pC ): - nSlotId(nS), - nWhichId(nW), - pSlot(pS), - pCache(pC) - {} -}; - -typedef boost::ptr_vector SfxFoundCacheArr_Impl; - class SFX2_DLLPUBLIC SfxBindings: public SfxBroadcaster /* [Description] -- cgit