Kaydet (Commit) 593df166 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Pull assignment out of switch condition

Change-Id: I0a2d6488dcccfb643cb3fce542d013e3f981e657
üst 33dfe072
...@@ -64,7 +64,8 @@ int SvRTFParser::_GetNextToken() ...@@ -64,7 +64,8 @@ int SvRTFParser::_GetNextToken()
case '\\': case '\\':
{ {
// control charaters // control charaters
switch( nNextCh = GetNextChar() ) nNextCh = GetNextChar();
switch( nNextCh )
{ {
case '{': case '{':
case '}': case '}':
...@@ -316,7 +317,8 @@ void SvRTFParser::ScanText( const sal_Unicode cBreak ) ...@@ -316,7 +317,8 @@ void SvRTFParser::ScanText( const sal_Unicode cBreak )
{ {
case '\\': case '\\':
{ {
switch (nNextCh = GetNextChar()) nNextCh = GetNextChar();
switch (nNextCh)
{ {
case '\'': case '\'':
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment