summaryrefslogtreecommitdiffstats
path: root/src/io/stringstream.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-03-08 08:59:37 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-03-08 08:59:37 +0000
commitd8a3b36b43e0700126a7a25a1d38858d1a1d4836 (patch)
treeeaf5a86ac5542fc33ed8bb697a615e08ddd2ae01 /src/io/stringstream.cpp
parentchanges_2013_02_25a.patch (diff)
parentDrop deprecated get_vbox method in Gtk::Dialog (diff)
downloadinkscape-d8a3b36b43e0700126a7a25a1d38858d1a1d4836.tar.gz
inkscape-d8a3b36b43e0700126a7a25a1d38858d1a1d4836.zip
merge from trunk (r12181)
(bzr r11668.1.53)
Diffstat (limited to 'src/io/stringstream.cpp')
-rw-r--r--src/io/stringstream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/stringstream.cpp b/src/io/stringstream.cpp
index 44d11dd04..5a76e24a3 100644
--- a/src/io/stringstream.cpp
+++ b/src/io/stringstream.cpp
@@ -112,10 +112,10 @@ void StringOutputStream::flush()
/**
* Writes the specified byte to this output stream.
*/
-void StringOutputStream::put(int ch)
+int StringOutputStream::put(gunichar ch)
{
- gunichar uch = (gunichar)ch;
- buffer.push_back(uch);
+ buffer.push_back(ch);
+ return 1;
}