summaryrefslogtreecommitdiff
path: root/sw/inc/postithelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-17 15:54:21 +0200
committerNoel Grandin <noel@peralex.com>2015-04-17 15:54:21 +0200
commit5cf00154ca1e5013ceba59103ad706a3492ea70b (patch)
tree12d07076eda050ba27a1f9621b39f912a9faf514 /sw/inc/postithelper.hxx
parentf0f786e8fc7165a22b67ec73331ee8d66c01409c (diff)
sw: convert new to ::Create.
Change-Id: I3783ee5c3eca2ecb4490a16032edad7e6ebe3460
Diffstat (limited to 'sw/inc/postithelper.hxx')
-rw-r--r--sw/inc/postithelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index cf1f7c069c02..e8fa575ae36c 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -114,7 +114,7 @@ public:
virtual bool UseElement() = 0;
virtual const SwFmtFld& GetFmtFld() const = 0;
virtual const SfxBroadcaster* GetBroadCaster() const = 0;
- virtual sw::sidebarwindows::SwSidebarWin* GetSidebarWindow( SwEditWin& rEditWin,
+ virtual VclPtr<sw::sidebarwindows::SwSidebarWin> GetSidebarWindow( SwEditWin& rEditWin,
WinBits nBits,
SwPostItMgr& aMgr,
SwPostItBits aBits) = 0;
@@ -146,7 +146,7 @@ public:
{
return dynamic_cast<const SfxBroadcaster *> (&mrFmtFld);
}
- virtual sw::sidebarwindows::SwSidebarWin* GetSidebarWindow(
+ virtual VclPtr<sw::sidebarwindows::SwSidebarWin> GetSidebarWindow(
SwEditWin& rEditWin,
WinBits nBits,
SwPostItMgr& aMgr,