diff options
Diffstat (limited to 'sfx2/source/appl/appmisc.cxx')
-rw-r--r-- | sfx2/source/appl/appmisc.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 9a42ea4323dc..eec9e802f7b4 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -89,7 +89,6 @@ using namespace ::com::sun::star::container; //=================================================================== SV_IMPL_PTRARR( SfxTbxCtrlFactArr_Impl, SfxTbxCtrlFactory* ); -SV_IMPL_PTRARR( SfxStbCtrlFactArr_Impl, SfxStbCtrlFactory* ); //=================================================================== @@ -293,4 +292,9 @@ SfxMenuCtrlFactArr_Impl::~SfxMenuCtrlFactArr_Impl() delete *it; } +SfxStbCtrlFactArr_Impl::~SfxStbCtrlFactArr_Impl() +{ + for( const_iterator it = begin(); it != end(); ++it ) + delete *it; +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |