diff options
Diffstat (limited to 'kword/KWDocument.cpp')
-rw-r--r-- | kword/KWDocument.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kword/KWDocument.cpp b/kword/KWDocument.cpp index c6469aceb..3edd614c1 100644 --- a/kword/KWDocument.cpp +++ b/kword/KWDocument.cpp @@ -503,7 +503,7 @@ bool KWDocument::initDoc(InitDocFlags flags, TQWidget* parentWidget) m_pageHeaderFooter.ptFooterBodySpacing = 10; m_pageHeaderFooter.ptFootNoteBodySpacing = 10; - bool ok = FALSE; + bool ok = false; if ( isEmbedded() ) { @@ -513,7 +513,7 @@ bool KWDocument::initDoc(InitDocFlags flags, TQWidget* parentWidget) if ( !ok ) showLoadingErrorDialog(); setEmpty(); - setModified( FALSE ); + setModified( false ); return ok; } else if (flags==KoDocument::InitDocEmpty) @@ -524,7 +524,7 @@ bool KWDocument::initDoc(InitDocFlags flags, TQWidget* parentWidget) if ( !ok ) showLoadingErrorDialog(); setEmpty(); - setModified( FALSE ); + setModified( false ); return ok; } @@ -558,7 +558,7 @@ bool KWDocument::initDoc(InitDocFlags flags, TQWidget* parentWidget) showLoadingErrorDialog(); setEmpty(); } - setModified( FALSE ); + setModified( false ); return ok; } @@ -606,7 +606,7 @@ void KWDocument::initEmpty() if ( !ok ) showLoadingErrorDialog(); resetURL(); - setModified( FALSE ); + setModified( false ); setEmpty(); } @@ -999,10 +999,10 @@ bool KWDocument::loadChildren( KoStore *store ) TQPtrListIterator<KoDocumentChild> it( children() ); for( ; it.current(); ++it ) { if ( !it.current()->loadDocument( store ) ) - return FALSE; + return false; } - return TRUE; + return true; } void KWDocument::loadPictureMap ( TQDomElement& domElement ) @@ -3699,7 +3699,7 @@ TQValueList<KoPictureKey> KWDocument::savePictureList() bool KWDocument::completeSaving( KoStore *store ) { if ( !store ) - return TRUE; + return true; TQString u = KURL( url() ).path(); @@ -3876,7 +3876,7 @@ KWPartFrameSet* KWDocument::insertObject( const KoRect& rect, KoDocumentEntry& e return 0; KWDocumentChild* ch = createChildDoc( rect, doc ); - setModified( TRUE ); + setModified( true ); KWPartFrameSet *frameset = new KWPartFrameSet( this, ch, TQString() ); KWFrame *frame = new KWFrame(frameset, rect.x(), rect.y(), rect.width(), rect.height() ); @@ -4103,7 +4103,7 @@ kdDebug() << "KWDocument::canRemovePage " << num<< endl; return false; } #ifdef DEBUG_PAGES - kdDebug(32002) << "KWDocument::canRemovePage " << num << "-> TRUE" << endl; + kdDebug(32002) << "KWDocument::canRemovePage " << num << "-> true" << endl; #endif return true; } |