summaryrefslogtreecommitdiffstats
path: root/cui/source/options/optopencl.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-18 20:48:34 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-18 21:58:58 +0100
commit354df32a6da2557ac9edc0937b0032406bc6ba15 (patch)
treef64defae98df2693b7a4feeecae2cd1f64d8c764 /cui/source/options/optopencl.cxx
parentchart2: convert new to ::Create. (diff)
downloadcore-354df32a6da2557ac9edc0937b0032406bc6ba15.tar.gz
core-354df32a6da2557ac9edc0937b0032406bc6ba15.zip
cui: convert new to ::Create.
Change-Id: Ifad69772a4954f14772cca9eeae913e546eff477
Diffstat (limited to 'cui/source/options/optopencl.cxx')
-rw-r--r--cui/source/options/optopencl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index e83dcde59a61..d8b6af402ec9 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -72,8 +72,8 @@ SvxOpenCLTabPage::SvxOpenCLTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
mpWhiteListDelete->SetClickHdl(LINK(this, SvxOpenCLTabPage, WhiteListDeleteHdl));
WinBits nBits = WB_SORT | WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP;
- mpBlackList = new SvSimpleTable( *mpBlackListTable, nBits );
- mpWhiteList = new SvSimpleTable( *mpWhiteListTable, nBits );
+ mpBlackList = VclPtr<SvSimpleTable>::Create( *mpBlackListTable, nBits );
+ mpWhiteList = VclPtr<SvSimpleTable>::Create( *mpWhiteListTable, nBits );
HeaderBar &rBlBar = mpBlackList->GetTheHeaderBar();
HeaderBar &rWiBar = mpWhiteList->GetTheHeaderBar();