Kaydet (Commit) 8eb7d029 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: statement aligned as second statement in if ... [loplugin]

Full warning message: statement aligned as second statement in if body but not
in a statement block.

To make the warning go away, put braces around the if-ed statement (a for
statement). Leaves the stuff afterwards still oddly indented but will fix that
in a separate commit.

Change-Id: I875569de8aa7ff587eda0da241723c900486dd43
üst 196f9800
......@@ -2215,6 +2215,7 @@ void AttributeOutputBase::StartTOX( const SwSection& rSect )
}
if( nsSwTOXElement::TOX_TEMPLATE & pTOX->GetCreateType() )
{
// #i99641# - Consider additional styles regardless of TOX-outlinelevel
for( n = 0; n < MAXLEVEL; ++n )
{
......@@ -2239,7 +2240,7 @@ void AttributeOutputBase::StartTOX( const SwSection& rSect )
} while( -1 != nPos );
}
}
}
{
OUString aFillTxt;
sal_uInt8 nNoPgStt = MAXLEVEL, nNoPgEnd = MAXLEVEL;
......
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