diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-01-26 17:25:33 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-01-30 22:59:42 +0100 |
commit | 6b21d21066eacfec3ed0e5dc02e6bcdd97807ddf (patch) | |
tree | fd4f688839f026e0b95accb0760efdda5c3833a6 /sw | |
parent | 7f6d06603951d0f688cd82dd231f49bcbf7c7525 (diff) |
Fix indentation
Change-Id: Ic009b2d9cbb4bbd37aad044e63f1b19ae57e649e
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/porlay.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx index a3edbf7cc0ce..16e94cbffe97 100644 --- a/sw/source/core/text/porlay.cxx +++ b/sw/source/core/text/porlay.cxx @@ -1761,7 +1761,7 @@ sal_Int32 SwScriptInfo::KashidaJustify( sal_Int32* pKernArray, size_t nCntKashEnd = nCntKash; while ( nCntKashEnd < CountKashida() ) { - if ( nEnd <= GetKashida( nCntKashEnd ) ) + if ( nEnd <= GetKashida( nCntKashEnd ) ) break; else ++nCntKashEnd; @@ -1876,8 +1876,8 @@ void SwScriptInfo::ClearKashidaInvalid(sal_Int32 nKashPos) { if ( aKashidaInvalid [ i ] == nKashPos ) { - aKashidaInvalid.erase ( aKashidaInvalid.begin() + i ); - return; + aKashidaInvalid.erase ( aKashidaInvalid.begin() + i ); + return; } } } @@ -1919,7 +1919,7 @@ bool SwScriptInfo::MarkOrClearKashidaInvalid(sal_Int32 nStt, sal_Int32 nLen, MarkKashidaInvalid ( nCntKash ); --nMarkCount; if (!nMarkCount) - return true; + return true; } } else @@ -1959,7 +1959,7 @@ sal_Int32 SwScriptInfo::GetKashidaPositions(sal_Int32 nStt, sal_Int32 nLen, size_t nCntKashEnd = nCntKash; while ( nCntKashEnd < CountKashida() ) { - if ( nEnd <= GetKashida( nCntKashEnd ) ) + if ( nEnd <= GetKashida( nCntKashEnd ) ) break; else { @@ -2084,14 +2084,14 @@ SwScriptInfo* SwScriptInfo::GetScriptInfo( const SwTxtNode& rTNd, for( SwTxtFrm* pLast = aIter.First(); pLast; pLast = aIter.Next() ) { - pScriptInfo = (SwScriptInfo*)pLast->GetScriptInfo(); - if ( pScriptInfo ) - { - if ( !bAllowInvalid && COMPLETE_STRING != pScriptInfo->GetInvalidityA() ) - pScriptInfo = 0; - else break; - } + pScriptInfo = (SwScriptInfo*)pLast->GetScriptInfo(); + if ( pScriptInfo ) + { + if ( !bAllowInvalid && COMPLETE_STRING != pScriptInfo->GetInvalidityA() ) + pScriptInfo = 0; + else break; } + } return pScriptInfo; } |