diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 18:11:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 19:23:45 +0900 |
commit | 0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch) | |
tree | 962f6ea26d1fab041fe3476fbbd64132ab8ada1b /lib/kotext/KoTextFormat.cpp | |
parent | cb258b7e39ffa5662b57e7d9006e69172a378d7e (diff) | |
download | koffice-r14.1.4.tar.gz koffice-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'lib/kotext/KoTextFormat.cpp')
-rw-r--r-- | lib/kotext/KoTextFormat.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kotext/KoTextFormat.cpp b/lib/kotext/KoTextFormat.cpp index 4648898d0..bb0992b29 100644 --- a/lib/kotext/KoTextFormat.cpp +++ b/lib/kotext/KoTextFormat.cpp @@ -54,9 +54,9 @@ void KoTextFormat::zoomChanged() KoTextFormat::KoTextFormat() { - //linkColor = TRUE; + //linkColor = true; ref = 0; - missp = FALSE; + missp = false; va = AlignNormal; collection = 0; //// kotext: WYSIWYG works much much better with scalable fonts -> force it to be scalable @@ -83,7 +83,7 @@ KoTextFormat::KoTextFormat() } KoTextFormat::KoTextFormat( const TQFont &f, const TQColor &c, const TQString &_language, bool hyphenation, KoTextFormatCollection *parent ) - : fn( f ), col( c ) /*fm( TQFontMetrics( f ) ),*/ //linkColor( TRUE ) + : fn( f ), col( c ) /*fm( TQFontMetrics( f ) ),*/ //linkColor( true ) { #ifdef DEBUG_COLLECTION kdDebug(32500) << "KoTextFormat with font & color & parent (" << parent << "), addRef. " << this << endl; @@ -103,7 +103,7 @@ KoTextFormat::KoTextFormat( const TQFont &f, const TQColor &c, const TQString &_ //hei = fm.height(); //asc = fm.ascent(); //dsc = fm.descent(); - missp = FALSE; + missp = false; va = AlignNormal; //// kotext d = new KoTextFormatPrivate; @@ -1681,7 +1681,7 @@ KoTextFormatCollection::KoTextFormatCollection() defFormat = new KoTextFormat( TQApplication::font(), TQColor(), TDEGlobal::locale()->language(), false ); lastFormat = cres = 0; cflags = -1; - cKey.setAutoDelete( TRUE ); + cKey.setAutoDelete( true ); cachedFormat = 0; } @@ -1694,7 +1694,7 @@ KoTextFormatCollection::KoTextFormatCollection( const TQFont& defaultFont, const defFormat = new KoTextFormat( defaultFont, defaultColor, defaultLanguage, defaultHyphenation ); lastFormat = cres = 0; cflags = -1; - cKey.setAutoDelete( TRUE ); + cKey.setAutoDelete( true ); cachedFormat = 0; } @@ -1813,7 +1813,7 @@ KoTextFormat *KoTextFormatCollection::format( const TQFont &f, const TQColor &c, return cachedFormat; } - TQString key = KoTextFormat::getKey( f, c, FALSE, KoTextFormat::AlignNormal ); + TQString key = KoTextFormat::getKey( f, c, false, KoTextFormat::AlignNormal ); cachedFormat = cKey.find( key ); cfont = f; ccol = c; |