diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-12 09:39:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-12 09:47:40 +0000 |
commit | c5ba9161a8fb45f86c4d6cf030afa0a20b42cd3f (patch) | |
tree | ace7b8726f0455cbbd2c82ac8636d0ff0985b433 /svtools | |
parent | cc777d31c1508ef74551532b553374f5db87bca9 (diff) |
coverity#1397046 Unchecked return value
Change-Id: I7f8988a7cf5f3d815a20cac249b3753d732994e1
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svrtf/rtfout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx index cb722db4e243..605fad7252ce 100644 --- a/svtools/source/svrtf/rtfout.cxx +++ b/svtools/source/svrtf/rtfout.cxx @@ -141,7 +141,7 @@ SvStream& Out_Char(SvStream& rStream, sal_Unicode c, || (RTL_TEXTENCODING_UTF8==eDestEnc); // #i43933# do not export UTF-8 chars in RTF; if (bWriteAsUnicode) { - sBuf.convertToString(&sConverted, + (void)sBuf.convertToString(&sConverted, eDestEnc, OUSTRING_TO_OSTRING_CVTFLAGS); } const sal_Int32 nLen = sConverted.getLength(); |