diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-23 18:57:21 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-23 18:57:21 +0300 |
commit | 8eb7d02999b7f40bc364ebcd61ebd454c04aef2b (patch) | |
tree | d09f75c558ef033dde00023722edd92eb98e168b /sw | |
parent | 196f980012739d94654e6863b85b2e49f7e1a1e5 (diff) |
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
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8atr.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 1d01bf4c2ffe..40214b91bce3 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -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; |