summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/DashedLine.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-27 20:02:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-28 10:21:43 +0200
commitdd2fcfcadcb3027f5ae727697be77943358cfd28 (patch)
treeca6bb639c7294503f741585444a60b0c8e27a246 /sw/source/uibase/inc/DashedLine.hxx
parent209dd51b88bbf12bca548ca9fa31e78d1ae8bde5 (diff)
SwDashedLine doesn't have to inherit from FixedLine
Change-Id: I8a903910a3563608d4762a57b3e125360ebca6c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101497 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/inc/DashedLine.hxx')
-rw-r--r--sw/source/uibase/inc/DashedLine.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/DashedLine.hxx b/sw/source/uibase/inc/DashedLine.hxx
index 0492be67e589..38a3eab69fe1 100644
--- a/sw/source/uibase/inc/DashedLine.hxx
+++ b/sw/source/uibase/inc/DashedLine.hxx
@@ -9,11 +9,11 @@
#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_DASHEDLINE_HXX
#define INCLUDED_SW_SOURCE_UIBASE_INC_DASHEDLINE_HXX
-#include <vcl/fixed.hxx>
+#include <vcl/ctrl.hxx>
/** Class for displaying a dashed line in the Writer GUI.
*/
-class SwDashedLine : public FixedLine
+class SwDashedLine : public Control
{
Color& (*m_pColorFn)();