Commit a7143d52 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt5.15

parent 1d6b44ab
...@@ -217,7 +217,7 @@ bool QWinMetaFile::load(QBuffer &buffer) ...@@ -217,7 +217,7 @@ bool QWinMetaFile::load(QBuffer &buffer)
mBBox.setBottom(pheader.bbox.bottom); mBBox.setBottom(pheader.bbox.bottom);
mHeaderBoundingBox = mBBox; mHeaderBoundingBox = mBBox;
if (QWMF_DEBUG) { if (QWMF_DEBUG) {
qCDebug(KTNEFAPPS_LOG) << endl << "-------------------------------------------------"; qCDebug(KTNEFAPPS_LOG) << "\n-------------------------------------------------";
qCDebug(KTNEFAPPS_LOG) << "WMF Placeable Header (" << static_cast<int>(sizeof(pheader)) << "):"; qCDebug(KTNEFAPPS_LOG) << "WMF Placeable Header (" << static_cast<int>(sizeof(pheader)) << "):";
qCDebug(KTNEFAPPS_LOG) << " bbox=(" << mBBox.left() << ";" << mBBox.top() << ";" << mBBox.width() qCDebug(KTNEFAPPS_LOG) << " bbox=(" << mBBox.left() << ";" << mBBox.top() << ";" << mBBox.width()
<< "; " << mBBox.height() << ")"; << "; " << mBBox.height() << ")";
...@@ -258,7 +258,7 @@ bool QWinMetaFile::load(QBuffer &buffer) ...@@ -258,7 +258,7 @@ bool QWinMetaFile::load(QBuffer &buffer)
st >> eheader.szlMillimeters.height; st >> eheader.szlMillimeters.height;
if (QWMF_DEBUG) { if (QWMF_DEBUG) {
qCDebug(KTNEFAPPS_LOG) << endl << "-------------------------------------------------"; qCDebug(KTNEFAPPS_LOG) << "\n-------------------------------------------------";
qCDebug(KTNEFAPPS_LOG) << "WMF Extended Header:"; qCDebug(KTNEFAPPS_LOG) << "WMF Extended Header:";
qCDebug(KTNEFAPPS_LOG) << " iType=" << eheader.iType; qCDebug(KTNEFAPPS_LOG) << " iType=" << eheader.iType;
qCDebug(KTNEFAPPS_LOG) << " nSize=" << eheader.nSize; qCDebug(KTNEFAPPS_LOG) << " nSize=" << eheader.nSize;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment