diff options
| author | Aaron Spike <aaron@ekips.org> | 2006-06-13 02:13:02 +0000 |
|---|---|---|
| committer | acspike <acspike@users.sourceforge.net> | 2006-06-13 02:13:02 +0000 |
| commit | c72c956fad79a5b775c5e4dd6296170f344b0944 (patch) | |
| tree | ca0ed622ea827fce7a4c8839ae73d6abc25545bb /src/dom/io/bufferstream.cpp | |
| parent | patch [ 1503865 ] Siox performance patch (diff) | |
| download | inkscape-c72c956fad79a5b775c5e4dd6296170f344b0944.tar.gz inkscape-c72c956fad79a5b775c5e4dd6296170f344b0944.zip | |
patch [ 1503869 ] ODF formatting fix
(bzr r1209)
Diffstat (limited to 'src/dom/io/bufferstream.cpp')
| -rw-r--r-- | src/dom/io/bufferstream.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dom/io/bufferstream.cpp b/src/dom/io/bufferstream.cpp index 4664b07e9..6c3956a60 100644 --- a/src/dom/io/bufferstream.cpp +++ b/src/dom/io/bufferstream.cpp @@ -146,11 +146,12 @@ void BufferOutputStream::flush() /** * Writes the specified byte to this output stream. */ -void BufferOutputStream::put(XMLCh ch) +int BufferOutputStream::put(XMLCh ch) { if (closed) - return; + return -1; buffer.push_back(ch); + return 1; } |
