summaryrefslogtreecommitdiff
path: root/svtools/source/svrtf
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-26 14:47:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-27 08:43:07 +0200
commitc937c6828784260f3536a37f8e297dc721a7d974 (patch)
treee04b2459294d785134cebca133bb324f07db14af /svtools/source/svrtf
parent8dca2d5ac740f262b045f6529bd8e97af0ec9c47 (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.cxx2
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,