Kaydet (Commit) 6929d42c authored tarafından Pierre-André Jacquod's avatar Pierre-André Jacquod

cppcheck reduce scope in editeng/..svxrtf.cxx

üst ff5899f1
......@@ -667,10 +667,10 @@ util::DateTime SvxRTFParser::GetDateTimeStamp( )
{
util::DateTime aDT;
sal_Bool bWeiter = sal_True;
int nToken;
while( bWeiter && IsParserWorking() )
{
switch( nToken = GetNextToken() )
switch( int nToken = GetNextToken() )
{
case RTF_YR: aDT.Year = (sal_uInt16)nTokenValue; break;
case RTF_MO: aDT.Month = (sal_uInt16)nTokenValue; break;
......
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