diff options
Diffstat (limited to 'kword/KWPictureFrameSet.cpp')
-rw-r--r-- | kword/KWPictureFrameSet.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/KWPictureFrameSet.cpp b/kword/KWPictureFrameSet.cpp index 3237bc37..7ea4e955 100644 --- a/kword/KWPictureFrameSet.cpp +++ b/kword/KWPictureFrameSet.cpp @@ -82,20 +82,20 @@ void KWPictureFrameSet::reloadPicture( const KoPictureKey& key ) m_picture = collection->insertPicture( key, KoPicture() ); } -TQDomElement KWPictureFrameSet::save( TQDomElement & tqparentElem, bool saveFrames ) +TQDomElement KWPictureFrameSet::save( TQDomElement & parentElem, bool saveFrames ) { if ( m_frames.isEmpty() ) // Deleted frameset -> don't save return TQDomElement(); - TQDomElement framesetElem = tqparentElem.ownerDocument().createElement( "FRAMESET" ); - tqparentElem.appendChild( framesetElem ); + TQDomElement framesetElem = parentElem.ownerDocument().createElement( "FRAMESET" ); + parentElem.appendChild( framesetElem ); KWFrameSet::saveCommon( framesetElem, saveFrames ); - TQDomElement imageElem = tqparentElem.ownerDocument().createElement( "PICTURE" ); + TQDomElement imageElem = parentElem.ownerDocument().createElement( "PICTURE" ); framesetElem.appendChild( imageElem ); imageElem.setAttribute( "keepAspectRatio", m_keepAspectRatio ? "true" : "false" ); - TQDomElement elem = tqparentElem.ownerDocument().createElement( "KEY" ); + TQDomElement elem = parentElem.ownerDocument().createElement( "KEY" ); imageElem.appendChild( elem ); m_picture.getKey().saveAttributes( elem ); return framesetElem; |