summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-07 10:55:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-07 11:32:45 +0200
commita868478b2e7a7b74a2fa19b1dfedfa0eb6fe68d8 (patch)
tree7b935eff665da2de27d7b97eac0c7a0c7006e6b0 /svtools
parentPull assignment out of switch condition (diff)
downloadcore-a868478b2e7a7b74a2fa19b1dfedfa0eb6fe68d8.tar.gz
core-a868478b2e7a7b74a2fa19b1dfedfa0eb6fe68d8.zip
clang-analyzer-deadcode.DeadStores
Change-Id: I19650204f707c822f9f16a04e1bd1cd8e85a5c67
Diffstat (limited to 'svtools')
-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 1691ed7947d8..a907500c974c 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -202,7 +202,7 @@ int SvRTFParser::_GetNextToken()
if( '\\' == cAnsi &&
'\'' == ( cAnsi = GetNextChar() ))
// read on HexValue
- cAnsi = GetHexValue();
+ GetHexValue();
nNextCh = GetNextChar();
}
ScanText();
@@ -426,7 +426,7 @@ void SvRTFParser::ScanText( const sal_Unicode cBreak )
if( '\\' == cAnsi &&
'\'' == ( cAnsi = GetNextChar() ))
// HexValue ueberlesen
- cAnsi = GetHexValue();
+ GetHexValue();
nNextCh = GetNextChar();
}
bNextCh = false;