summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/atrfrm.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-10-27 00:29:00 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-11-16 16:52:42 +0100
commitbed1203e02fb30b6e8298d583600c49937f83203 (patch)
tree64afd22ad53a4ab19647ea8413c58b4ec4f57059 /sw/source/core/layout/atrfrm.cxx
parentbd17413bef117a80ccfc2b7f5bbd794a6491e9b7 (diff)
Reformat: code after {
Change-Id: Icba402cecdc4997e95250544a887b9ed3399f197
Diffstat (limited to 'sw/source/core/layout/atrfrm.cxx')
-rw-r--r--sw/source/core/layout/atrfrm.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 82c4d2c211e5..a1f389eceab2 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -877,7 +877,8 @@ sal_uInt16 SwFmtCol::GetGutterWidth( bool bMin ) const
}
}
else
- { bSet = true;
+ {
+ bSet = true;
nRet = nTmp;
}
}
@@ -893,7 +894,8 @@ void SwFmtCol::SetGutterWidth( sal_uInt16 nNew, sal_uInt16 nAct )
{
sal_uInt16 nHalf = nNew / 2;
for ( size_t i = 0; i < m_aColumns.size(); ++i )
- { SwColumn *pCol = &m_aColumns[i];
+ {
+ SwColumn *pCol = &m_aColumns[i];
pCol->SetLeft ( nHalf );
pCol->SetRight( nHalf );
if ( i == 0 )
@@ -911,7 +913,8 @@ void SwFmtCol::Init( sal_uInt16 nNumCols, sal_uInt16 nGutterWidth, sal_uInt16 nA
if ( !m_aColumns.empty() )
m_aColumns.clear();
for ( sal_uInt16 i = 0; i < nNumCols; ++i )
- { SwColumn *pCol = new SwColumn;
+ {
+ SwColumn *pCol = new SwColumn;
m_aColumns.push_back( pCol );
}
m_bOrtho = true;