diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 16:33:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 16:33:13 +0200 |
commit | 5df70781f3001d2f5be0343fc9daf04ab5c56719 (patch) | |
tree | 2eef02fb2ca619fce2fa0a30bf2239eba13d9329 /basctl | |
parent | 5cf00154ca1e5013ceba59103ad706a3492ea70b (diff) |
svx: convert new to ::Create.
Change-Id: I52f589dabdedb538a4a5d0eadfa42b0d10de9b80
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/tbxctl.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/tbxctl.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx index fac2961b8455..328ea08e3f27 100644 --- a/basctl/source/basicide/tbxctl.cxx +++ b/basctl/source/basicide/tbxctl.cxx @@ -141,7 +141,7 @@ void TbxControls::Select( sal_uInt16 nModifier ) |* rItemRect are the screen coordinates |* \************************************************************************/ -SfxPopupWindow* TbxControls::CreatePopupWindow() +VclPtr<SfxPopupWindow> TbxControls::CreatePopupWindow() { if ( GetSlotId() == SID_CHOOSE_CONTROLS ) createAndPositionSubToolBar( aSubToolBarResName ); diff --git a/basctl/source/basicide/tbxctl.hxx b/basctl/source/basicide/tbxctl.hxx index 7e8a5dcc409d..d9152a07211b 100644 --- a/basctl/source/basicide/tbxctl.hxx +++ b/basctl/source/basicide/tbxctl.hxx @@ -46,7 +46,7 @@ public: virtual ~TbxControls() {} virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; - virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; + virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE; using SfxToolBoxControl::Select; void Select( sal_uInt16 nModifier ) SAL_OVERRIDE; |