diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 14:47:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-27 08:43:07 +0200 |
commit | c937c6828784260f3536a37f8e297dc721a7d974 (patch) | |
tree | e04b2459294d785134cebca133bb324f07db14af /svtools/source/svrtf | |
parent | 8dca2d5ac740f262b045f6529bd8e97af0ec9c47 (diff) |
loplugin:oncevar in svtools
Change-Id: Ic97e75c81a0c00853d2f10aaf182ab476c466c86
Reviewed-on: https://gerrit.libreoffice.org/39281
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/svrtf')
-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 edaab84b5c04..e042a889b79a 100644 --- a/svtools/source/svrtf/rtfout.cxx +++ b/svtools/source/svrtf/rtfout.cxx @@ -133,7 +133,7 @@ SvStream& Out_Char(SvStream& rStream, sal_Unicode c, //export as unicode OUString sBuf(&c, 1); OString sConverted; - sal_uInt32 nFlags = + sal_uInt32 const nFlags = RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR | RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR; bool bWriteAsUnicode = !(sBuf.convertToString(&sConverted, |