summaryrefslogtreecommitdiffstats
path: root/filter/source/msfilter/rtfutil.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-06-29 15:52:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-06-29 17:54:55 +0200
commiteab8e4b94317992aafed561a869adc33ceeb1059 (patch)
tree9c0b677d87e23ba61f3da5a3ca31f046aeb73b16 /filter/source/msfilter/rtfutil.cxx
parentsw: fix crash on F2 while drawing a polygon (diff)
downloadcore-eab8e4b94317992aafed561a869adc33ceeb1059.tar.gz
core-eab8e4b94317992aafed561a869adc33ceeb1059.zip
Improved loplugin:redundantcast (const-qualified typedefs): filter
Change-Id: I200be1277904d346dd02e64612e6f1bed24f17a3 Reviewed-on: https://gerrit.libreoffice.org/56695 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'filter/source/msfilter/rtfutil.cxx')
-rw-r--r--filter/source/msfilter/rtfutil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/rtfutil.cxx b/filter/source/msfilter/rtfutil.cxx
index 2d709f10060e..ad2031d5536f 100644
--- a/filter/source/msfilter/rtfutil.cxx
+++ b/filter/source/msfilter/rtfutil.cxx
@@ -104,7 +104,7 @@ OString OutChar(sal_Unicode c, int* pUCMode, rtl_TextEncoding eDestEnc, bool* pS
if (*pUCMode != nLen)
{
aBuf.append("\\uc");
- aBuf.append(static_cast<sal_Int32>(nLen));
+ aBuf.append(nLen);
// #i47831# add an additional whitespace, so that "document whitespaces" are not ignored.
aBuf.append(' ');
*pUCMode = nLen;