summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vogt <david.vogt@adfinis-sygroup.ch>2012-02-05 16:39:12 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-27 14:50:44 +0100
commit7ee38e1b5399851f6f8692ca8ed930da413f78a3 (patch)
tree09ec3f348c662069214279aa489ef0bb70bb0e4c
parentc581d33dec47a4c411a034482876543f6357d1e8 (diff)
Translated german code comments to english
-rw-r--r--sw/source/core/layout/flypos.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/flypos.cxx b/sw/source/core/layout/flypos.cxx
index 0368882a1523..b77236c71159 100644
--- a/sw/source/core/layout/flypos.cxx
+++ b/sw/source/core/layout/flypos.cxx
@@ -56,7 +56,7 @@ SwPosFlyFrm::SwPosFlyFrm( const SwNodeIndex& rIdx, const SwFrmFmt* pFmt,
{
if( RES_FLYFRMFMT == pFmt->Which() )
{
- // Schauen, ob es ein SdrObject dafuer gibt
+ // Let's see if we have an SdrObject for this
SwFlyFrm* pFly = SwIterator<SwFlyFrm,SwFmt>::FirstElement(*pFmt);
if( pFly )
{
@@ -66,7 +66,7 @@ SwPosFlyFrm::SwPosFlyFrm( const SwNodeIndex& rIdx, const SwFrmFmt* pFmt,
}
else if( RES_DRAWFRMFMT == pFmt->Which() )
{
- // Schauen, ob es ein SdrObject dafuer gibt
+ // Let's see if we have an SdrObject for this
SwDrawContact* pContact = SwIterator<SwDrawContact,SwFmt>::FirstElement(*pFmt);
if( pContact )
{
@@ -94,14 +94,14 @@ SwPosFlyFrm::~SwPosFlyFrm()
sal_Bool SwPosFlyFrm::operator==( const SwPosFlyFrm& )
{
- return sal_False; // FlyFrames koennen auf der gleichen Position stehen
+ return sal_False; // FlyFrames can sit at the same position
}
sal_Bool SwPosFlyFrm::operator<( const SwPosFlyFrm& rPosFly )
{
if( pNdIdx->GetIndex() == rPosFly.pNdIdx->GetIndex() )
{
- // dann entscheidet die Ordnungsnummer!
+ // In this case, the order number decides!
return nOrdNum < rPosFly.nOrdNum;
}
return pNdIdx->GetIndex() < rPosFly.pNdIdx->GetIndex();