summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoView.cpp')
-rw-r--r--lib/kofficecore/KoView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoView.cpp b/lib/kofficecore/KoView.cpp
index cca65063d..773a8fda3 100644
--- a/lib/kofficecore/KoView.cpp
+++ b/lib/kofficecore/KoView.cpp
@@ -563,7 +563,7 @@ void KoView::slotChildActivated( bool a )
// #### HACK
// We want to delete as many views as possible and this
// trick is used to go upwards in the view-tree.
- emit activated( FALSE );
+ emit activated( false );
}
void KoView::slotChildChanged( KoDocumentChild *child )
@@ -658,12 +658,12 @@ bool KoView::isInOperation() const
void KoView::beginOperation()
{
d->m_inOperation = true;
- canvas()->setUpdatesEnabled(FALSE);
+ canvas()->setUpdatesEnabled(false);
}
void KoView::endOperation()
{
- canvas()->setUpdatesEnabled(TRUE);
+ canvas()->setUpdatesEnabled(true);
d->m_inOperation = false;
// canvas()->update();