diff options
Diffstat (limited to 'cui/source/options/optopencl.cxx')
-rw-r--r-- | cui/source/options/optopencl.cxx | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx index 9304c364e38f..c98ce9a4a76b 100644 --- a/cui/source/options/optopencl.cxx +++ b/cui/source/options/optopencl.cxx @@ -113,20 +113,11 @@ void SvxOpenCLTabPage::dispose() delete static_cast<OpenCLConfig::ImplMatcher*>(mpBlackList->GetEntry(i)->GetUserData()); for ( sal_uInt16 i = 0; i < mpWhiteList->GetEntryCount(); ++i ) delete static_cast<OpenCLConfig::ImplMatcher*>(mpWhiteList->GetEntry(i)->GetUserData()); - mpBlackList.disposeAndClear() - mpWhiteList.disposeAndClear() -} + mpBlackList.disposeAndClear(); + mpWhiteList.disposeAndClear(); -SvxOpenCLTabPage::~SvxOpenCLTabPage() -{ - disposeOnce(); -} - -void SvxOpenCLTabPage::dispose() -{ mpUseOpenCL.clear(); mpBlackListFrame.clear(); - mpBlackList.clear(); mpBlackListTable.clear(); mpBlackListEdit.clear(); mpBlackListAdd.clear(); @@ -137,11 +128,11 @@ void SvxOpenCLTabPage::dispose() mpVendor.clear(); mpDrvVersion.clear(); mpWhiteListFrame.clear(); - mpWhiteList.clear(); mpWhiteListTable.clear(); mpWhiteListEdit.clear(); mpWhiteListAdd.clear(); mpWhiteListDelete.clear(); + SfxTabPage::dispose(); } |