summaryrefslogtreecommitdiffstats
path: root/svtools/source/svrtf/parrtf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-11 15:56:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-12 10:31:25 +0100
commitf147b160aef1735d34c488353a7d4b875788a7e1 (patch)
treeab3bd613cf016cde906b3fdcbaab4246ca699e1e /svtools/source/svrtf/parrtf.cxx
parenttdf#130440: Add UItest (diff)
downloadcore-f147b160aef1735d34c488353a7d4b875788a7e1.tar.gz
core-f147b160aef1735d34c488353a7d4b875788a7e1.zip
clang-analyzer-deadcode.DeadStores
Change-Id: Ifa384933569b27d0d08eb479bb95b799163ae386 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88450 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/svrtf/parrtf.cxx')
-rw-r--r--svtools/source/svrtf/parrtf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx
index 16d3eb7146f4..a52b8ee4f3af 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -204,7 +204,7 @@ int SvRTFParser::GetNextToken_()
cAnsi = GetNextChar();
if( '\\' == cAnsi &&
- '\'' == ( cAnsi = GetNextChar() ))
+ '\'' == GetNextChar() )
// skip HexValue
GetHexValue();
nNextCh = GetNextChar();
@@ -441,7 +441,7 @@ void SvRTFParser::ScanText()
cAnsi = GetNextChar();
if( '\\' == cAnsi &&
- '\'' == ( cAnsi = GetNextChar() ))
+ '\'' == GetNextChar() )
// skip HexValue
GetHexValue();
nNextCh = GetNextChar();