diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:36:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-04 14:03:58 +0900 |
commit | 29a883cec1a2631638574e0cf9f867d172981b82 (patch) | |
tree | c8a6177c8074be7c7e9d30425df9efd0c139713b /kmymoney2/mymoney/storage/mymoneystoragexml.cpp | |
parent | e592106d761216a2ff67333c83fbc18d10741f5f (diff) | |
download | kmymoney-29a883cec1a2631638574e0cf9f867d172981b82.tar.gz kmymoney-29a883cec1a2631638574e0cf9f867d172981b82.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneystoragexml.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneystoragexml.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp index d7f0b6d..a68515f 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp @@ -868,14 +868,14 @@ void MyMoneyStorageXML::signalProgress(int current, int total, const TQString& m */ TQByteArray TQIODevice::readAll() { - if ( TQT_TQIODEVICE(this)->isDirectAccess() ) { + if ( this->isDirectAccess() ) { // we know the size - int n = size()-TQT_TQIODEVICE(this)->at(); // ### fix for 64-bit or large files? + int n = size()-this->at(); // ### fix for 64-bit or large files? int totalRead = 0; TQByteArray ba( n ); char* c = ba.data(); while ( n ) { - int r = TQT_TQIODEVICE(this)->readBlock( c, n ); + int r = this->readBlock( c, n ); if ( r < 0 ) return TQByteArray(); n -= r; @@ -897,7 +897,7 @@ TQByteArray TQIODevice::readAll() int r = 1; while ( !atEnd() && r != 0) { ba.resize( nread + blocksize ); - r = TQT_TQIODEVICE(this)->readBlock( ba.data()+nread, blocksize ); + r = this->readBlock( ba.data()+nread, blocksize ); if ( r < 0 ) return TQByteArray(); nread += r; |