diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-12-04 15:22:00 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-12-04 15:39:59 +0100 |
commit | d1539f91810cb4b426f3c823c25ab6ac25f6283e (patch) | |
tree | e88eebfff8bbb7263e0b6e488c0c1dc93262d303 /include/sfx2 | |
parent | 5e4c26918a0c8130515ee7af0cf2cd2dfe42534d (diff) |
sfx2: SfxItemPtrMap is used only in shell.cxx
Change-Id: I9f76a114fcdf761ddaaf40666e4330d20ca72b98
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/dispatch.hxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index cb48a841cd07..49e4c1d58711 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -27,7 +27,6 @@ #include <sfx2/bindings.hxx> #include <sfx2/viewfrm.hxx> -#include <map> #include <boost/scoped_ptr.hpp> class SfxSlotServer; @@ -63,17 +62,6 @@ namespace com //========================================================================= -// Maps the Which() field to a pointer to a SfxPoolItem -class SfxItemPtrMap : public std::map<sal_uInt16, SfxPoolItem*> -{ -public: - ~SfxItemPtrMap() - { - for(iterator it = begin(); it != end(); ++it) - delete it->second; - } -}; - class SFX2_DLLPUBLIC SfxDispatcher { boost::scoped_ptr<SfxDispatcher_Impl> pImp; |