From 5df70781f3001d2f5be0343fc9daf04ab5c56719 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 17 Apr 2015 16:33:13 +0200 Subject: svx: convert new to ::Create. Change-Id: I52f589dabdedb538a4a5d0eadfa42b0d10de9b80 --- basctl/source/basicide/tbxctl.cxx | 2 +- basctl/source/basicide/tbxctl.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl/source') 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 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 CreatePopupWindow() SAL_OVERRIDE; using SfxToolBoxControl::Select; void Select( sal_uInt16 nModifier ) SAL_OVERRIDE; -- cgit