diff options
Diffstat (limited to 'kbarcode/csvfile.cpp')
-rw-r--r-- | kbarcode/csvfile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kbarcode/csvfile.cpp b/kbarcode/csvfile.cpp index 880898f..960b4dd 100644 --- a/kbarcode/csvfile.cpp +++ b/kbarcode/csvfile.cpp @@ -55,18 +55,18 @@ CSVFile::CSVFile( TQBuffer & buf ) CSVFile::~CSVFile() { - if( m_stream.tqdevice() && m_stream.tqdevice()->isOpen() ) - m_stream.tqdevice()->close(); + if( m_stream.device() && m_stream.device()->isOpen() ) + m_stream.device()->close(); } TQStringList CSVFile::readNextLine() { TQString line; - if( !m_stream.tqdevice() ) + if( !m_stream.device() ) return TQStringList(); - if( !m_stream.tqdevice()->isOpen() ) + if( !m_stream.device()->isOpen() ) return TQStringList(); // walk through the lines until a line containing valid data |