summaryrefslogtreecommitdiffstats
path: root/kword/KWDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWDocument.cpp')
-rw-r--r--kword/KWDocument.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/KWDocument.cpp b/kword/KWDocument.cpp
index 2c446210..0453407a 100644
--- a/kword/KWDocument.cpp
+++ b/kword/KWDocument.cpp
@@ -2877,7 +2877,7 @@ bool KWDocument::saveOasisHelper( KoStore* store, KoXmlWriter* manifestWriter, S
}
}
- // Add trailing '0' (TQt4: remove)
+ // Add trailing '0'
headerFooterContent.resize( headerFooterContent.size() + 1 );
headerFooterContent[headerFooterContent.size()-1] = '\0';
@@ -4435,10 +4435,10 @@ void KWDocument::recalcVariables( int type )
if ( m_bGeneratingPreview )
return;
- TQMap<KoTextDocument *, bool> modifiedTextDocuments; // TQt4: TQSet
+ TQMap<KoTextDocument *, bool> modifiedTextDocuments;
for ( TQValueList<KoVariable *>::const_iterator it = modifiedVariables.begin(), end = modifiedVariables.end() ; it != end ; ++it ) {
KoTextDocument* textdoc = (*it)->textDocument();
- if ( modifiedTextDocuments.find( textdoc ) != modifiedTextDocuments.end() ) // TQt4: !contains
+ if ( modifiedTextDocuments.find( textdoc ) != modifiedTextDocuments.end() )
{
modifiedTextDocuments.insert( textdoc, true );
KWTextFrameSet * textfs = static_cast<KWTextDocument *>(textdoc)->textFrameSet();
@@ -5042,7 +5042,7 @@ void KWDocument::displayFootNoteFieldCode()
void KWDocument::changeFootNoteConfig()
{
- TQMap<KoTextDocument *, bool> modifiedTextDocuments; // TQt4: TQSet
+ TQMap<KoTextDocument *, bool> modifiedTextDocuments;
TQPtrListIterator<KoVariable> it( m_varColl->getVariables() );
for ( ; it.current() ; ++it )
{
@@ -5062,7 +5062,7 @@ void KWDocument::changeFootNoteConfig()
parag->setChanged( true );
}
KoTextDocument* textdoc = parag->textDocument();
- if ( modifiedTextDocuments.find( textdoc ) != modifiedTextDocuments.end() ) // TQt4: !contains
+ if ( modifiedTextDocuments.find( textdoc ) != modifiedTextDocuments.end() )
modifiedTextDocuments.insert( textdoc, true );
}
}