diff options
Diffstat (limited to 'kword/KWFrameList.cpp')
-rw-r--r-- | kword/KWFrameList.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kword/KWFrameList.cpp b/kword/KWFrameList.cpp index 10e6c467..3628df05 100644 --- a/kword/KWFrameList.cpp +++ b/kword/KWFrameList.cpp @@ -67,13 +67,13 @@ TQValueList<KWFrame *> KWFrameList::framesOnTop() const { void KWFrameList::setFrames(const TQPtrList<KWFrame> &frames) { // kdDebug(31001) << "KWFrameList::setFrames for " << m_frame->frameSet()->name() << endl; m_frames.clear(); - if ( m_doc->tqlayoutViewMode() && !m_doc->tqlayoutViewMode()->hasFrames() ) + if ( m_doc->layoutViewMode() && !m_doc->layoutViewMode()->hasFrames() ) return; - TQPtrList<KWFrameSet> tqparentFramesets; + TQPtrList<KWFrameSet> parentFramesets; KWFrameSet *fs = m_frame->frameSet(); while(fs) { - tqparentFramesets.append(fs); + parentFramesets.append(fs); fs = (KWFrameSet*) fs->anchorFrameset(); } @@ -96,7 +96,7 @@ void KWFrameList::setFrames(const TQPtrList<KWFrame> &frames) { // ## might need a for loop for the case of inline-inside-inline, // or maybe calling isPaintedBy instead [depending on what should happen for tables] if ( daFrame->frameSet()->isFloating() && - (tqparentFramesets.tqcontains(daFrame->frameSet()->anchorFrameset()) || + (parentFramesets.tqcontains(daFrame->frameSet()->anchorFrameset()) || daFrame->frameSet()->isPaintedBy(m_frame->frameSet())) ) continue; // Floating frames are not "on top", they are "inside". |