summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/PreviewValueSet.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-03 16:13:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-04 11:01:03 +0100
commit739e3b25bbaf9305f779e8821fd7aee4fccc6f5d (patch)
tree2bf2ce2ee6def504cf7af356d5bbb03c0c20ba95 /sd/source/ui/sidebar/PreviewValueSet.hxx
parent55c724b93dfd4c9a1afb10d60fbc2d7a9a66cf61 (diff)
weld MasterPagesSelector
Change-Id: Ie63d7f8f83bae4f9641ab9713c6e46cd2090767b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87906 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/sidebar/PreviewValueSet.hxx')
-rw-r--r--sd/source/ui/sidebar/PreviewValueSet.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/sidebar/PreviewValueSet.hxx b/sd/source/ui/sidebar/PreviewValueSet.hxx
index dcc326e4005a..ba50d481a206 100644
--- a/sd/source/ui/sidebar/PreviewValueSet.hxx
+++ b/sd/source/ui/sidebar/PreviewValueSet.hxx
@@ -26,11 +26,11 @@ namespace sd { namespace sidebar {
/** Adapt the svtools valueset to the needs of the master page controls.
*/
-class PreviewValueSet
- : public ValueSet
+class PreviewValueSet : public SvtValueSet
{
public:
- explicit PreviewValueSet (vcl::Window* pParent);
+ explicit PreviewValueSet();
+ virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
virtual ~PreviewValueSet() override;
void SetRightMouseClickHandler (const Link<const MouseEvent&,void>& rLink);
@@ -46,7 +46,7 @@ public:
void Rearrange();
protected:
- virtual void MouseButtonDown (const MouseEvent& rEvent) override;
+ virtual bool MouseButtonDown (const MouseEvent& rEvent) override;
private:
Link<const MouseEvent&,void> maRightMouseClickHandler;