diff options
| author | jtx <javier.arraiza@marker.es> | 2013-02-19 16:48:44 +0000 |
|---|---|---|
| committer | jtx <javier.arraiza@marker.es> | 2013-02-19 16:48:44 +0000 |
| commit | e77f8af15850e964f5d69c84b0f45a66ae229d94 (patch) | |
| tree | 66eeb27d793d6874bc51e7e2601b1b41fa6aae81 /src/io/inkscapestream.cpp | |
| parent | Fix cusp continuous? path close broken (diff) | |
| parent | Mayor refactor (diff) | |
| download | inkscape-e77f8af15850e964f5d69c84b0f45a66ae229d94.tar.gz inkscape-e77f8af15850e964f5d69c84b0f45a66ae229d94.zip | |
Refactor problem cusp nodes
(bzr r11950.3.2)
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); } |
