summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-13 15:39:37 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-13 15:49:24 +0100
commit5245021a806ccdd0d569d5cee7b95167892e9aab (patch)
tree5739b3098ea35361d0e50650d5ee493c9de9303c /basctl
parentc9f2abed2e8a618bdf1237c162cb2073bb7022e0 (diff)
Explicit disposeOnce instead of transient wrappers.
Change-Id: I578aa360c9923abd3fc516865896a004f377375b audit: "vclwidget: check for calling delete on subclasses of vcl::Window"
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basidesh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 5f1cfed5cf78..7715de063057 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -816,7 +816,7 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange
{
if ( !( pWindow_->GetStatus() & BASWIN_INRESCHEDULE ) )
{
- VclPtr<BaseWindow>(pWindow_).disposeAndClear();
+ pWindow_->disposeOnce();
}
else
{