summaryrefslogtreecommitdiffstats
path: root/lib/kwmf/kwmf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kwmf/kwmf.cc')
-rw-r--r--lib/kwmf/kwmf.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kwmf/kwmf.cc b/lib/kwmf/kwmf.cc
index 0a0d2c12..d8965537 100644
--- a/lib/kwmf/kwmf.cc
+++ b/lib/kwmf/kwmf.cc
@@ -351,7 +351,7 @@ bool KWmf::parse(
bool isPlaceable;
bool isEnhanced;
- startedAt = stream.tqdevice()->at();
+ startedAt = stream.device()->at();
stream.setByteOrder(TQDataStream::LittleEndian); // Great, I love TQt !
for (int i = 0; i < s_maxHandles; i++)
@@ -477,7 +477,7 @@ bool KWmf::parse(
}
else
{
- stream.tqdevice()->at(startedAt);
+ stream.device()->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.tqdevice()->at();
+ fileAt = stream.device()->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.tqdevice()->at(fileAt);
+ stream.device()->at(fileAt);
stream >> header.mtType;
stream >> header.mtHeaderSize;
stream >> header.mtVersion;
@@ -558,7 +558,7 @@ bool KWmf::parse(
*/
}
- walk((size - (stream.tqdevice()->at() - startedAt)) / 2, stream);
+ walk((size - (stream.device()->at() - startedAt)) / 2, stream);
return true;
}