diff options
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; |