From c72c956fad79a5b775c5e4dd6296170f344b0944 Mon Sep 17 00:00:00 2001 From: Aaron Spike Date: Tue, 13 Jun 2006 02:13:02 +0000 Subject: patch [ 1503869 ] ODF formatting fix (bzr r1209) --- src/dom/io/bufferstream.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/dom/io/bufferstream.cpp') 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; } -- cgit v1.2.3