diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-02-15 17:52:58 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-02-15 17:52:58 +0000 |
| commit | e3ecf9560faa54d783ff216310ddb27ed3702c9e (patch) | |
| tree | 3a5fc3b625e39b80027af955aad8c6a1791442e7 /src/io/inkscapestream.cpp | |
| parent | All done except cusp continuous and close bspline (diff) | |
| parent | Merge to trunk (diff) | |
| download | inkscape-e3ecf9560faa54d783ff216310ddb27ed3702c9e.tar.gz inkscape-e3ecf9560faa54d783ff216310ddb27ed3702c9e.zip | |
update from Trunk
(bzr r11950.1.33)
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); } |
