Kaydet (Commit) 577dbcf5 authored tarafından Matteo Casalin's avatar Matteo Casalin

Avoid index for single getToken call

Change-Id: Id7206487f96792ffe38611c36ac0e0e28bcc59b7
Reviewed-on: https://gerrit.libreoffice.org/66222
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst 604985f8
...@@ -1874,10 +1874,7 @@ XMLParaContext::XMLParaContext( ...@@ -1874,10 +1874,7 @@ XMLParaContext::XMLParaContext(
if( !aCondStyleName.isEmpty() ) if( !aCondStyleName.isEmpty() )
sStyleName = aCondStyleName; sStyleName = aCondStyleName;
else if( !sClassNames.isEmpty() ) else if( !sClassNames.isEmpty() )
{ sStyleName = sClassNames.getToken( 0, ' ' );
sal_Int32 nDummy = 0;
sStyleName = sClassNames.getToken( 0, ' ', nDummy );
}
} }
void XMLParaContext::EndElement() void XMLParaContext::EndElement()
......
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