]> git.lyx.org Git - lyx.git/blobdiff - src/support/gzstream.h
Remove non-copyable idioms
[lyx.git] / src / support / gzstream.h
index 01658ec341f17bbb52b5033c010b09317d8f6c6d..d333dd424ee1c70b2a570d1e7e5c72c8584f9864 100644 (file)
 // standard C++ with new header file names and std:: namespace
 #include <iostream>
 #include <fstream>
-#include <QtCore>
-#if (defined Q_OS_WIN && QT_VERSION >= 0x050000)
-#define Z_PREFIX 1
-#endif
 #include <zlib.h>
 
 // For LyX
@@ -61,7 +57,7 @@ private:
 
     int flush_buffer();
 public:
-    gzstreambuf() : opened(0) {
+    gzstreambuf() : opened(0), mode(0) {
         setp( buffer, buffer + (bufferSize-1));
         setg( buffer + 4,     // beginning of putback area
               buffer + 4,     // read position