summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNicolas Christener <nicolas.christener@adfinis-sygroup.ch>2012-02-13 11:38:02 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-27 14:50:46 +0100
commit267e077b979b6f81175ed2d0b7a1ba9e04483549 (patch)
tree383f815e02a3796df4ca946ea7e9bf81205eeb55 /sw
parentc1beabb18abba10d8ea8454b1baea61292e75b15 (diff)
translate german comments
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/virtoutp.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/layout/virtoutp.cxx b/sw/source/core/layout/virtoutp.cxx
index b4acf6c09e7a..831b9e02b888 100644
--- a/sw/source/core/layout/virtoutp.cxx
+++ b/sw/source/core/layout/virtoutp.cxx
@@ -68,9 +68,9 @@ inline DbgRect::DbgRect( OutputDevice *pOutDev, const Rectangle &rRect,
#endif
-/* class SwLayVout verwaltet das virtuelle Outputdevice
- * Es gibt von dieser Klasse einen statischen Member am RootFrm,
- * dieser wird in _FrmInit angelegt und in _FrmFinit zerstoert.
+/* The SWLayVout class manages the virtual output devices.
+ * RootFrm has a static member of this class which is created in _FrmInit
+ * and destroyed in _FrmFinit.
* */
sal_Bool SwRootFrm::FlushVout()
@@ -136,7 +136,7 @@ void SetMappingForVirtDev( const Point& _rNewOrigin,
* SwVOut::DoesFit()
*************************************************************************/
-// rSize muss in Pixel-Koordinaten vorliegen!
+// rSize must be pixel coordinates!
sal_Bool SwLayVout::DoesFit( const Size &rNew )
{
if( rNew.Height() > VIRTUALHEIGHT )
@@ -197,7 +197,7 @@ void SwLayVout::Enter( ViewShell *pShell, SwRect &rRect, sal_Bool bOn )
pSh = pShell;
pOut = NULL;
OutputDevice *pO = pSh->GetOut();
-// Auf dem Drucker oder einem virt. Outputdevice wird nicht getrickst...
+// We don't cheat on printers or virtual output devices...
if( OUTDEV_WINDOW != pO->GetOutDevType() )
return;
@@ -211,7 +211,7 @@ void SwLayVout::Enter( ViewShell *pShell, SwRect &rRect, sal_Bool bOn )
OSL_ENSURE( !pSh->GetWin()->IsReallyVisible() ||
aTmpRect.GetWidth() <= pSh->GetWin()->GetOutputSizePixel().Width() + 2,
"Paintwidth bigger than visarea?" );
- // Passt das Rechteck in unseren Buffer ?
+ // Does the rectangle fit in our buffer?
if( !DoesFit( aTmpRect.GetSize() ) )
{
pOut = NULL;