sfx2: SfxItemPtrMap is used only in shell.cxx
Change-Id: I9f76a114fcdf761ddaaf40666e4330d20ca72b98
This commit is contained in:
@@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include <sfx2/bindings.hxx>
|
#include <sfx2/bindings.hxx>
|
||||||
#include <sfx2/viewfrm.hxx>
|
#include <sfx2/viewfrm.hxx>
|
||||||
#include <map>
|
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
|
||||||
class SfxSlotServer;
|
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
|
class SFX2_DLLPUBLIC SfxDispatcher
|
||||||
{
|
{
|
||||||
boost::scoped_ptr<SfxDispatcher_Impl> pImp;
|
boost::scoped_ptr<SfxDispatcher_Impl> pImp;
|
||||||
|
@@ -44,6 +44,20 @@
|
|||||||
#include <sfx2/msgpool.hxx>
|
#include <sfx2/msgpool.hxx>
|
||||||
#include <sfx2/sidebar/ContextChangeBroadcaster.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)
|
DBG_NAME(SfxShell)
|
||||||
|
Reference in New Issue
Block a user