diff options
Diffstat (limited to 'lib/kwmf/kwmf.cc')
-rw-r--r-- | lib/kwmf/kwmf.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kwmf/kwmf.cc b/lib/kwmf/kwmf.cc index 38d520db..0a0d2c12 100644 --- a/lib/kwmf/kwmf.cc +++ b/lib/kwmf/kwmf.cc @@ -351,7 +351,7 @@ bool KWmf::parse( bool isPlaceable; bool isEnhanced; - startedAt = stream.device()->at(); + startedAt = stream.tqdevice()->at(); stream.setByteOrder(TQDataStream::LittleEndian); // Great, I love TQt ! for (int i = 0; i < s_maxHandles; i++) @@ -400,7 +400,7 @@ bool KWmf::parse( S16 nHandles; // Number of handles in the handle table // Handle index zero is reserved. S16 sReserved; // Reserved. Must be zero. - S32 nDescription; // Number of chars in the unicode description string + S32 nDescription; // Number of chars in the tqunicode description string // This is 0 if there is no description string S32 offDescription; // Offset to the metafile description record. // This is 0 if there is no description string @@ -477,7 +477,7 @@ bool KWmf::parse( } else { - stream.device()->at(startedAt); + stream.tqdevice()->at(startedAt); m_dpi = (unsigned)((double)576 / m_dpi); m_windowOrgX = 0; m_windowOrgY = 0; @@ -487,7 +487,7 @@ bool KWmf::parse( //----- Read as enhanced metafile header - fileAt = stream.device()->at(); + fileAt = stream.tqdevice()->at(); stream >> eheader.iType; stream >> eheader.nSize; stream >> eheader.rclBounds.left; @@ -539,7 +539,7 @@ bool KWmf::parse( { // debug("WMF Header"); //----- Read as standard metafile header - stream.device()->at(fileAt); + stream.tqdevice()->at(fileAt); stream >> header.mtType; stream >> header.mtHeaderSize; stream >> header.mtVersion; @@ -558,7 +558,7 @@ bool KWmf::parse( */ } - walk((size - (stream.device()->at() - startedAt)) / 2, stream); + walk((size - (stream.tqdevice()->at() - startedAt)) / 2, stream); return true; } |