summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextCustomItem.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/kotext/KoTextCustomItem.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/kotext/KoTextCustomItem.cpp')
-rw-r--r--lib/kotext/KoTextCustomItem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoTextCustomItem.cpp b/lib/kotext/KoTextCustomItem.cpp
index 4b567e0be..ff83414fa 100644
--- a/lib/kotext/KoTextCustomItem.cpp
+++ b/lib/kotext/KoTextCustomItem.cpp
@@ -31,28 +31,28 @@
bool KoTextCustomItem::enter( KoTextCursor *, KoTextDocument *&doc, KoTextParag *&parag, int &idx, int &ox, int &oy, bool atEnd )
{
- doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; Q_UNUSED( atEnd ) return TRUE;
+ doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; Q_UNUSED( atEnd ) return true;
}
bool KoTextCustomItem::enterAt( KoTextCursor *, KoTextDocument *&doc, KoTextParag *&parag, int &idx, int &ox, int &oy, const TQPoint & )
{
- doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return TRUE;
+ doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return true;
}
bool KoTextCustomItem::next( KoTextCursor *, KoTextDocument *&doc, KoTextParag *&parag, int &idx, int &ox, int &oy )
{
- doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return TRUE;
+ doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return true;
}
bool KoTextCustomItem::prev( KoTextCursor *, KoTextDocument *&doc, KoTextParag *&parag, int &idx, int &ox, int &oy )
{
- doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return TRUE;
+ doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return true;
}
bool KoTextCustomItem::down( KoTextCursor *, KoTextDocument *&doc, KoTextParag *&parag, int &idx, int &ox, int &oy )
{
- doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return TRUE;
+ doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return true;
}
bool KoTextCustomItem::up( KoTextCursor *, KoTextDocument *&doc, KoTextParag *&parag, int &idx, int &ox, int &oy )
{
- doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return TRUE;
+ doc = doc; parag = parag; idx = idx; ox = ox; oy = oy; return true;
}
int KoTextCustomItem::index() const