summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-02-27 15:09:52 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-27 15:09:52 +0100
commit0f1120ad344ae220a93bd2af9cf4a6bf50e25888 (patch)
treec5c6313cb6bb1cd2398b8b27b849026316f7f72e
parenttranslate german comments (diff)
downloadcore-0f1120ad344ae220a93bd2af9cf4a6bf50e25888.tar.gz
core-0f1120ad344ae220a93bd2af9cf4a6bf50e25888.zip
Fix build (few missing {'s in the translations).
-rw-r--r--sw/source/core/layout/findfrm.cxx1
-rw-r--r--sw/source/core/layout/flycnt.cxx1
-rw-r--r--sw/source/core/layout/paintfrm.cxx1
-rw-r--r--sw/source/core/layout/wsfrm.cxx2
4 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx
index c4829a3a11a0..a2c7bf0d2d4c 100644
--- a/sw/source/core/layout/findfrm.cxx
+++ b/sw/source/core/layout/findfrm.cxx
@@ -1365,6 +1365,7 @@ void SwFrm::SetInfFlags()
if( IsFtnContFrm() )
bInfFtn = sal_True;
do
+ {
// bInfBody is only set in the page body, but not in the column body
if ( pFrm->IsBodyFrm() && !bInfFtn && pFrm->GetUpper()
&& pFrm->GetUpper()->IsPageFrm() )
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 3c2cf9caa50c..0e21be6213b7 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -937,6 +937,7 @@ sal_uLong MA_FASTCALL lcl_FindCntDiff( const Point &rPt, const SwLayoutFrm *pLay
if ( pCnt->Frm().Top() <= rPt.Y() )
{
if ( nDiff < nDistance )
+ {
//This one is the nearer one
nDistance = nNearest = nDiff;
rpCnt = pNearest = pCnt;
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index b9b903afa11e..271ee0b3af73 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -6189,6 +6189,7 @@ void MA_FASTCALL lcl_RefreshLine( const SwLayoutFrm *pLay,
aP2( rP2 );
while ( aP1.*pDirPt < aP2.*pDirPt )
+ {
//If the starting point lies in a fly, it is directly set behind the
//fly.
//The end point moves to the start if the end point lies in a fly or we
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index ff0301599b5f..e2600e39d830 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -741,6 +741,7 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
pBehind->pPrev = pLast;
}
else
+ {
//Insert at the end, or ... the first node in the subtree
pPrev = pUpper->Lower();
if ( pPrev )
@@ -931,6 +932,7 @@ void SwCntntFrm::Cut()
}
if( 0 != (pFrm = GetIndNext()) )
+ {
//The old follower may calculated a gap to the predecessor which now
//becomes obsolete or different respectively as it becomes the first
//one itself.