summaryrefslogtreecommitdiffstats
path: root/quanta/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:49:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 00:28:32 +0900
commit10ff449a14f1c053295e0b7cfd678bebc11ca880 (patch)
tree2ea00d5a47a6ba272486621e87243db3350bcb1a /quanta/src
parentd72f4843816818bdb27e7faae86e68d51d624267 (diff)
downloadtdewebdev-10ff449a14f1c053295e0b7cfd678bebc11ca880.tar.gz
tdewebdev-10ff449a14f1c053295e0b7cfd678bebc11ca880.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'quanta/src')
-rw-r--r--quanta/src/document.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp
index a659d9cf..6ca6e6ab 100644
--- a/quanta/src/document.cpp
+++ b/quanta/src/document.cpp
@@ -2236,7 +2236,7 @@ void Document::checkDirtyStatus()
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
m_md5sum = context.hexDigest();
f.close();
}
@@ -2252,7 +2252,7 @@ void Document::checkDirtyStatus()
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
md5sum = context.hexDigest();
kdDebug(24000) << "MD5 sum of current doc: " << m_md5sum << endl;
kdDebug(24000) << "MD5 sum of doc on disc : " << md5sum << endl;
@@ -2323,7 +2323,7 @@ bool Document::saveAs(const KURL& url)
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
m_md5sum = context.hexDigest();
f.close();
}
@@ -3181,7 +3181,7 @@ bool Document::openURL(const KURL& url)
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
m_md5sum = context.hexDigest();
f.close();
}