summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrCommand.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/KPrCommand.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/KPrCommand.cpp')
-rw-r--r--kpresenter/KPrCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrCommand.cpp b/kpresenter/KPrCommand.cpp
index bef363bb..b5558afa 100644
--- a/kpresenter/KPrCommand.cpp
+++ b/kpresenter/KPrCommand.cpp
@@ -940,10 +940,10 @@ void KoPenCmd::execute()
{
Pen tmpPen = *oldPen.at( i );
- if ( flags & LineBegin )
+ if ( flags & BeginLine )
tmpPen.lineBegin = newPen.lineBegin;
- if ( flags & LineEnd )
+ if ( flags & EndLine )
tmpPen.lineEnd = newPen.lineEnd;
if ( flags & Color )