summaryrefslogtreecommitdiff
path: root/cui/source/options/optopencl.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-26 20:44:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-27 12:51:24 +0200
commite171aec015212aa295e5e1831474b8af636e477b (patch)
tree589ec6c499f845749920a5bda5d67916c965e761 /cui/source/options/optopencl.hxx
parentf9fee27333e97e2251fc9b9b56072abc77a227fd (diff)
weld SvxOpenCLTabPage
Change-Id: I8cc47aa63daa76794f1ec2e4fc7b64a1a0a18564 Reviewed-on: https://gerrit.libreoffice.org/76457 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/options/optopencl.hxx')
-rw-r--r--cui/source/options/optopencl.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx
index cc07698e50ca..ddb74e07643a 100644
--- a/cui/source/options/optopencl.hxx
+++ b/cui/source/options/optopencl.hxx
@@ -22,23 +22,19 @@
#include <opencl/openclconfig.hxx>
#include <sfx2/tabdlg.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
class SvxOpenCLTabPage : public SfxTabPage
{
private:
OpenCLConfig maConfig;
- VclPtr<CheckBox> mpUseOpenCL;
-
- VclPtr<FixedText> mpOclUsed;
- VclPtr<FixedText> mpOclNotUsed;
+ std::unique_ptr<weld::CheckButton> mxUseOpenCL;
+ std::unique_ptr<weld::Label> mxOclUsed;
+ std::unique_ptr<weld::Label> mxOclNotUsed;
public:
- SvxOpenCLTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
+ SvxOpenCLTabPage(TabPageParent pParent, const SfxItemSet& rSet);
virtual ~SvxOpenCLTabPage() override;
- virtual void dispose() override;
static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet );