diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-21 23:44:48 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-21 23:51:14 -0500 |
commit | 6e385ffadd4842f28a51a1a490ea910cbee6ff4a (patch) | |
tree | d9f3f784700ec882c5f23373896401175f9974d0 /include | |
parent | a08705e9346d95dcd5fb80e2cf6695091a04f883 (diff) |
Forward declare SfxFoundCacheArr_Impl and SfxFoundCache_Impl in bindings.hxx.
And remove #include <boost/ptr_container/ptr_vector.hpp> from here.
Change-Id: I7624444b60ee19f0b5b19e7a7aab0210ddf90d7c
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/bindings.hxx | 20 |
1 files changed, 2 insertions, 18 deletions
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 <com/sun/star/uno/Reference.h> #include <com/sun/star/frame/XDispatchRecorderSupplier.hpp> #include <vector> -#include <boost/ptr_container/ptr_vector.hpp> // 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<SfxUnoControllerItem*> 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 <Master-Slot> - 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<SfxFoundCache_Impl> SfxFoundCacheArr_Impl; - class SFX2_DLLPUBLIC SfxBindings: public SfxBroadcaster /* [Description] |