diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-03-05 08:43:18 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-03-05 08:43:18 +0000 |
| commit | a33dbbc4fbad29c187611660d3651bbe57243903 (patch) | |
| tree | 1260bfa9c376aa441bb26087283ed0014f5986ec /src/io/base64stream.cpp | |
| parent | Fix sintax (diff) | |
| parent | merge from branch (diff) | |
| download | inkscape-a33dbbc4fbad29c187611660d3651bbe57243903.tar.gz inkscape-a33dbbc4fbad29c187611660d3651bbe57243903.zip | |
refactor bsplineSpirolive
(bzr r11950.1.44)
Diffstat (limited to 'src/io/base64stream.cpp')
| -rw-r--r-- | src/io/base64stream.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/io/base64stream.cpp b/src/io/base64stream.cpp index 42a6ba1e4..28c819347 100644 --- a/src/io/base64stream.cpp +++ b/src/io/base64stream.cpp @@ -290,12 +290,12 @@ void Base64OutputStream::putCh(int ch) /** * Writes the specified byte to this output stream. */ -void Base64OutputStream::put(gunichar ch) +int Base64OutputStream::put(gunichar ch) { if (closed) { //probably throw an exception here - return; + return -1; } outBuf <<= 8; @@ -322,6 +322,7 @@ void Base64OutputStream::put(gunichar ch) bitCount = 0; outBuf = 0L; } + return 1; } |
