summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 13:41:45 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:15 +0100
commitecf00403376d13355fcf6fb7cd36b3500f19fc69 (patch)
tree96d76c3d9e9514a6f08e51c1fe3ddcdcb6a1060d /filter
parent29c8b9a7c9a4d62b7df2e70b71beec488aae5722 (diff)
loplugin: improve indentation
Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/mscodec.cxx10
-rw-r--r--filter/source/msfilter/msdffimp.cxx6
2 files changed, 9 insertions, 7 deletions
diff --git a/filter/source/msfilter/mscodec.cxx b/filter/source/msfilter/mscodec.cxx
index dd7ce6660cef..8cc09e6c0ba8 100644
--- a/filter/source/msfilter/mscodec.cxx
+++ b/filter/source/msfilter/mscodec.cxx
@@ -228,9 +228,13 @@ void MSCodec_XorWord95::Decode( sal_uInt8* pnData, sal_Size nBytes )
for( const sal_uInt8* pnDataEnd = pnData + nBytes; pnData < pnDataEnd; ++pnData )
{
const sal_uInt8 cChar = *pnData ^ *pnCurrKey;
- if (*pnData && cChar)
- *pnData = cChar;
- if( pnCurrKey < pnKeyLast ) ++pnCurrKey; else pnCurrKey = mpnKey;
+ if (*pnData && cChar)
+ *pnData = cChar;
+
+ if( pnCurrKey < pnKeyLast )
+ ++pnCurrKey;
+ else
+ pnCurrKey = mpnKey;
}
// update mnOffset
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index cc8de5869794..83f6cdd70550 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -5687,9 +5687,8 @@ void SvxMSDffManager::GetDrawingContainerData( SvStream& rSt, sal_uLong nLenDg,
{
if(!this->GetShapeGroupContainerData( rSt, nLength, sal_True, nDrawingContainerId )) return;
}
- else
// blanker Shape Container ? (ausserhalb vom Shape Group Container)
- if( DFF_msofbtSpContainer == nFbt )
+ else if( DFF_msofbtSpContainer == nFbt )
{
if(!this->GetShapeContainerData( rSt, nLength, ULONG_MAX, nDrawingContainerId )) return;
}
@@ -5725,9 +5724,8 @@ sal_Bool SvxMSDffManager::GetShapeGroupContainerData( SvStream& rSt,
return sal_False;
bFirst = sal_False;
}
- else
// eingeschachtelter Shape Group Container ?
- if( DFF_msofbtSpgrContainer == nFbt )
+ else if( DFF_msofbtSpgrContainer == nFbt )
{
if ( !this->GetShapeGroupContainerData( rSt, nLength, sal_False, nDrawingContainerId ) )
return sal_False;