diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-02-15 17:41:43 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-02-15 17:41:43 +0000 |
| commit | f986ce1bf97a05515103c828a42ff9a77a244c02 (patch) | |
| tree | d65419c34b2c3b97230d282d508384565e477109 /src/io/inkscapestream.cpp | |
| parent | Removed unused function (diff) | |
| parent | Bug #561503: fix typo in earlier fix (r11133) (diff) | |
| download | inkscape-f986ce1bf97a05515103c828a42ff9a77a244c02.tar.gz inkscape-f986ce1bf97a05515103c828a42ff9a77a244c02.zip | |
Merge to trunk
(bzr r11950.2.3)
Diffstat (limited to 'src/io/inkscapestream.cpp')
| -rw-r--r-- | src/io/inkscapestream.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/io/inkscapestream.cpp b/src/io/inkscapestream.cpp index 65f24cf59..3270127d6 100644 --- a/src/io/inkscapestream.cpp +++ b/src/io/inkscapestream.cpp @@ -125,7 +125,7 @@ void BasicOutputStream::flush() /** * Writes the specified byte to this output stream. */ -void BasicOutputStream::put(int ch) +void BasicOutputStream::put(gunichar ch) { if (closed) return; @@ -775,9 +775,7 @@ void OutputStreamWriter::flush() */ void OutputStreamWriter::put(gunichar ch) { - //Do we need conversions here? - int intCh = (int) ch; - outputStream.put(intCh); + outputStream.put(ch); } //######################################################################### @@ -827,9 +825,7 @@ void StdWriter::flush() */ void StdWriter::put(gunichar ch) { - //Do we need conversions here? - int intCh = (int) ch; - outputStream->put(intCh); + outputStream->put(ch); } |
