diff options
Diffstat (limited to 'kpresenter/KPrPenStyleWidget.cpp')
-rw-r--r-- | kpresenter/KPrPenStyleWidget.cpp | 8 |
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 ) |