summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNicolas Christener <nicolas.christener@adfinis-sygroup.ch>2012-02-13 11:37:28 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-27 14:50:46 +0100
commit4a96a481a71ac60985529bc78c49cb5f30cff82a (patch)
treeaac9320dc0e47826232e34332ce0effc94d6bb60 /sw
parent101ec3fbe5cdbe0ac63d97324e1ee5284972fa5e (diff)
translate german comments
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/laycache.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index d5f041d4fef2..f6353d26e91b 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -658,18 +658,18 @@ sal_Bool SwLayHelper::CheckInsertPage()
bNextPageOdd, bInsertEmpty, sal_False, rpPage->GetNext() );
if ( bEnd )
{
- OSL_ENSURE( rpPage->GetNext(), "Keine neue Seite?" );
+ OSL_ENSURE( rpPage->GetNext(), "No new page?" );
do
{ rpPage = (SwPageFrm*)rpPage->GetNext();
} while ( rpPage->GetNext() );
}
else
{
- OSL_ENSURE( rpPage->GetNext(), "Keine neue Seite?" );
+ OSL_ENSURE( rpPage->GetNext(), "No new page?" );
rpPage = (SwPageFrm*)rpPage->GetNext();
if ( rpPage->IsEmptyPage() )
{
- OSL_ENSURE( rpPage->GetNext(), "Keine neue Seite?" );
+ OSL_ENSURE( rpPage->GetNext(), "No new page?" );
rpPage = (SwPageFrm*)rpPage->GetNext();
}
}
@@ -951,8 +951,8 @@ sal_Bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex )
if ( rpActualSection )
{
- //Hatte der SectionFrm ueberhaupt Inhalt? Wenn
- //nicht kann er gleich umgehaengt werden.
+ //Did the SectionFrm even have a content? If not, we can
+ //directly put it somewhere else
SwSectionFrm *pSct;
bool bInit = false;
if ( !rpActualSection->GetSectionFrm()->ContainsCntnt())
@@ -972,7 +972,7 @@ sal_Bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex )
if( bInit )
pSct->Init();
pSct->Frm().Pos() = rpLay->Frm().Pos();
- pSct->Frm().Pos().Y() += 1; //wg. Benachrichtigungen.
+ pSct->Frm().Pos().Y() += 1; //because of the notifications
rpLay = pSct;
if ( rpLay->Lower() && rpLay->Lower()->IsLayoutFrm() )