diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-18 20:48:34 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-18 21:58:58 +0100 |
commit | 354df32a6da2557ac9edc0937b0032406bc6ba15 (patch) | |
tree | f64defae98df2693b7a4feeecae2cd1f64d8c764 /cui/source/options/optopencl.cxx | |
parent | chart2: convert new to ::Create. (diff) | |
download | core-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.cxx | 4 |
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(); |