diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 21:05:18 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 21:31:18 +0100 |
commit | d24f93dcf004dc81d4d5e9acec0b4e663fa09cd8 (patch) | |
tree | fb9dfae53e6b56dedf4e56b0b5fa45f5691ef565 /include/svx/grafctrl.hxx | |
parent | avmedia: convert new to ::Create to get initial ref-counting right. (diff) | |
download | core-d24f93dcf004dc81d4d5e9acec0b4e663fa09cd8.tar.gz core-d24f93dcf004dc81d4d5e9acec0b4e663fa09cd8.zip |
make CreateItemWindow return a VclPtr<>.
Change-Id: Id15ff8900376aaee4343d7ee08ae062e1c462ce4
Diffstat (limited to 'include/svx/grafctrl.hxx')
-rw-r--r-- | include/svx/grafctrl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/grafctrl.hxx b/include/svx/grafctrl.hxx index acfd5f356cfa..473133b35ef1 100644 --- a/include/svx/grafctrl.hxx +++ b/include/svx/grafctrl.hxx @@ -68,7 +68,7 @@ public: virtual ~SvxGrafToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; - virtual vcl::Window* CreateItemWindow( vcl::Window *pParent ) SAL_OVERRIDE; + virtual VclPtr<vcl::Window> CreateItemWindow( vcl::Window *pParent ) SAL_OVERRIDE; }; @@ -160,7 +160,7 @@ public: virtual ~SvxGrafModeToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; - virtual vcl::Window* CreateItemWindow( vcl::Window *pParent ) SAL_OVERRIDE; + virtual VclPtr<vcl::Window> CreateItemWindow( vcl::Window *pParent ) SAL_OVERRIDE; }; |