sfx2: SfxItemPtrMap is used only in shell.cxx
Change-Id: I9f76a114fcdf761ddaaf40666e4330d20ca72b98
This commit is contained in:
parent
5e4c26918a
commit
d1539f9181
@ -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;
|
||||
|
@ -44,6 +44,20 @@
|
||||
#include <sfx2/msgpool.hxx>
|
||||
#include <sfx2/sidebar/ContextChangeBroadcaster.hxx>
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
// 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;
|
||||
}
|
||||
};
|
||||
|
||||
//====================================================================
|
||||
|
||||
DBG_NAME(SfxShell)
|
||||
|
Loading…
x
Reference in New Issue
Block a user