diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-11 13:52:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-12 08:01:35 +0200 |
commit | 31a4248332cc95a23337ac9c6d7218fe109bce57 (patch) | |
tree | 5f522554dc047e8f9fa1d5c545d10ecbf3e22558 /include/sfx2/stbitem.hxx | |
parent | b6639b0e12e2bf914371124b870e55761b1155a2 (diff) |
sfx2: boost::ptr_vector->std::vector
Change-Id: I0ffe29145fb56f284300d40dfea323a8b16c26de
Diffstat (limited to 'include/sfx2/stbitem.hxx')
-rw-r--r-- | include/sfx2/stbitem.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx index 97cc515cac93..43eb733a249d 100644 --- a/include/sfx2/stbitem.hxx +++ b/include/sfx2/stbitem.hxx @@ -115,7 +115,7 @@ public: StatusBar& GetStatusBar() const { return *pBar; } static SfxStatusBarControl* CreateControl( sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar *pBar, SfxModule* ); - static void RegisterStatusBarControl(SfxModule*, SfxStbCtrlFactory*); + static void RegisterStatusBarControl(SfxModule*, const SfxStbCtrlFactory&); }; @@ -129,7 +129,7 @@ public: SfxStatusBarControl* Class::CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb ) \ { return new Class( nSlotId, nId, rStb ); } \ void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \ - { SfxStatusBarControl::RegisterStatusBarControl( pMod, new SfxStbCtrlFactory( \ + { SfxStatusBarControl::RegisterStatusBarControl( pMod, SfxStbCtrlFactory( \ Class::CreateImpl, typeid(nItemClass), nSlotId ) ); } |