Merge commit '58ce86d538971fc1815d56368d7077aa85e0592c' into v0.6.0

This commit is contained in:
Thomas Krijnen
2018-09-08 13:07:09 +02:00
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ void IfcCharacterDecoder::addChar(std::stringstream& s,const UChar32& ch) {
maximum length in bytes is 4. We add 1 for the NUL character. In other encodings
the length could be higher, but we have not taken that into account. */
char extraction_buffer[5] = {};
UnicodeString(ch).extract(extraction_buffer,5,destination,status);
icu::UnicodeString(ch).extract(extraction_buffer,5,destination,status);
extraction_buffer[4] = '\0';
s << extraction_buffer;
} else {