diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optopencl.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optopencl.hxx | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx index 05612b57f5ef..ec4f5b377ef6 100644 --- a/cui/source/options/optopencl.cxx +++ b/cui/source/options/optopencl.cxx @@ -54,7 +54,6 @@ SvxOpenCLTabPage::SvxOpenCLTabPage(vcl::Window* pParent, const SfxItemSet& rSet) mpUseOpenCL->Check(maConfig.mbUseOpenCL); mpUseOpenCL->Enable(!officecfg::Office::Common::Misc::UseOpenCL::isReadOnly()); - mpUseOpenCL->SetClickHdl(LINK(this, SvxOpenCLTabPage, EnableOpenCLHdl)); bool bCLUsed = opencl::GPUEnv::isOpenCLEnabled(); mpOclUsed->Show(bCLUsed); @@ -129,7 +128,4 @@ void SvxOpenCLTabPage::EnableOpenCLHdl(VclFrame* pFrame, bool aEnable) } -IMPL_STATIC_LINK_NOARG(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void) -{ -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx index e6560202d5d4..5680d918ef98 100644 --- a/cui/source/options/optopencl.hxx +++ b/cui/source/options/optopencl.hxx @@ -37,8 +37,6 @@ private: VclPtr<FixedText> mpOclUsed; VclPtr<FixedText> mpOclNotUsed; - DECL_STATIC_LINK(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void); - static void EnableOpenCLHdl(VclFrame* pFrame, bool aEnable); public: |