summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPenStyleWidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-05-08 14:00:32 +0900
committerMichele Calgaro <[email protected]>2023-05-09 19:14:36 +0900
commitb19ae6acefb3f4f21e2f7e1a7202faee71389fbc (patch)
tree69412cb45d8e4ebb2a4636753641d5fb73123343 /kpresenter/KPrPenStyleWidget.cpp
parent3cd0cbde8a3af86c8d72253e4da2a79e22cafee7 (diff)
downloadkoffice-b19ae6acefb3f4f21e2f7e1a7202faee71389fbc.tar.gz
koffice-b19ae6acefb3f4f21e2f7e1a7202faee71389fbc.zip
Workaround to fix issue #32
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 273530af4f44c3c9170cd92ec3f8e9e1b7c5507c)
Diffstat (limited to 'kpresenter/KPrPenStyleWidget.cpp')
-rw-r--r--kpresenter/KPrPenStyleWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpresenter/KPrPenStyleWidget.cpp b/kpresenter/KPrPenStyleWidget.cpp
index f05e1f2a..a8a2f653 100644
--- a/kpresenter/KPrPenStyleWidget.cpp
+++ b/kpresenter/KPrPenStyleWidget.cpp
@@ -195,9 +195,9 @@ int KPrPenStyleWidget::getPenConfigChange() const
int flags = 0;
if ( getLineEnd() != m_pen.lineEnd )
- flags = flags | KoPenCmd::LineEnd;
+ flags = flags | KoPenCmd::EndLine;
if ( getLineBegin() != m_pen.lineBegin )
- flags = flags | KoPenCmd::LineBegin;
+ flags = flags | KoPenCmd::BeginLine;
if ( getKPPen().color() != m_pen.pen.color() )
flags = flags | KoPenCmd::Color;
if ( getKPPen().style() != m_pen.pen.style() )
@@ -227,10 +227,10 @@ void KPrPenStyleWidget::apply()
{
int flags = getPenConfigChange();
- if ( flags & KoPenCmd::LineEnd )
+ if ( flags & KoPenCmd::EndLine )
m_pen.lineEnd = getLineEnd();
- if ( flags & KoPenCmd::LineBegin )
+ if ( flags & KoPenCmd::BeginLine )
m_pen.lineBegin = getLineBegin();
if ( flags & KoPenCmd::Color )