summaryrefslogtreecommitdiff
path: root/include/svx/tbcontrl.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-16 21:05:18 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-16 21:31:18 +0100
commitd24f93dcf004dc81d4d5e9acec0b4e663fa09cd8 (patch)
treefb9dfae53e6b56dedf4e56b0b5fa45f5691ef565 /include/svx/tbcontrl.hxx
parent384e705a9e1e41dd859d22a09293c65a28ef6535 (diff)
make CreateItemWindow return a VclPtr<>.
Change-Id: Id15ff8900376aaee4343d7ee08ae062e1c462ce4
Diffstat (limited to 'include/svx/tbcontrl.hxx')
-rw-r--r--include/svx/tbcontrl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx
index 329bb208145b..28358d2d36e0 100644
--- a/include/svx/tbcontrl.hxx
+++ b/include/svx/tbcontrl.hxx
@@ -163,7 +163,7 @@ public:
SvxStyleToolBoxControl(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rToolBox);
virtual ~SvxStyleToolBoxControl();
- virtual vcl::Window* CreateItemWindow(vcl::Window* pParent) SAL_OVERRIDE;
+ virtual VclPtr<vcl::Window> CreateItemWindow(vcl::Window* pParent) SAL_OVERRIDE;
virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState) SAL_OVERRIDE;
@@ -210,7 +210,7 @@ public:
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;
};
class BorderColorStatus