summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoView.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 18:11:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 10:36:14 +0900
commitcf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (patch)
tree868514a6f6939c71ee95754268a4b850fa60c5a5 /lib/kofficecore/KoView.cpp
parenta6b8cc41e27c15bb670aa7c0c0464b6eb44099e9 (diff)
downloadkoffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.tar.gz
koffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 ddff05f49..5c7d09e8c 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();