summaryrefslogtreecommitdiffstats
path: root/src/io/gzipstream.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-03-03 09:18:37 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-03-03 09:18:37 +0000
commit1279e676eccb0b3786d21fd390e4965f78a003c1 (patch)
tree7caebee8350e7ddced1dfdccb1b34d38a7d47b8c /src/io/gzipstream.cpp
parentFix autotools deprecation warnings (diff)
downloadinkscape-1279e676eccb0b3786d21fd390e4965f78a003c1.tar.gz
inkscape-1279e676eccb0b3786d21fd390e4965f78a003c1.zip
Preparation to merge /dom/io and /io code (bug #1120585 )
(bzr r12168)
Diffstat (limited to 'src/io/gzipstream.cpp')
-rw-r--r--src/io/gzipstream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/gzipstream.cpp b/src/io/gzipstream.cpp
index 071179b48..8db7155db 100644
--- a/src/io/gzipstream.cpp
+++ b/src/io/gzipstream.cpp
@@ -433,19 +433,19 @@ void GzipOutputStream::flush()
/**
* Writes the specified byte to this output stream.
*/
-void GzipOutputStream::put(gunichar ch)
+int GzipOutputStream::put(gunichar ch)
{
if (closed)
{
//probably throw an exception here
- return;
+ return -1;
}
//Add char to buffer
inputBuf.push_back(ch);
totalIn++;
-
+ return 1;
}