diff options
author | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2012-03-27 21:03:41 +0200 |
---|---|---|
committer | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2012-03-27 21:35:14 +0200 |
commit | 24a2cfff83c2e9e73df1907bf479e371df67dbf2 (patch) | |
tree | aacd696556224bd0b398a8cf2f7a6ab1944a2556 /sw/source/core/text | |
parent | 7628ced726c4de4bb9c98675c1ff77f5b7762ab6 (diff) |
Translate German comments
Diffstat (limited to 'sw/source/core/text')
-rw-r--r-- | sw/source/core/text/atrstck.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/text/blink.cxx | 23 |
2 files changed, 12 insertions, 13 deletions
diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx index b120ca8a3162..4e2713af4fb5 100644 --- a/sw/source/core/text/atrstck.cxx +++ b/sw/source/core/text/atrstck.cxx @@ -153,7 +153,7 @@ const SfxItemSet* GetItemSet( const SfxPoolItem& rAttr ) } else { - // aus der Vorlage die Attribute holen: + // Get the attributes from the template SwCharFmt* pFmt = RES_TXTATR_INETFMT == rAttr.Which() ? ((SwFmtINetFmt&)rAttr).GetTxtINetFmt()->GetCharFmt() : ((SwFmtCharFmt&)rAttr).GetCharFmt(); diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx index 638ebe0834fe..2e8906956d82 100644 --- a/sw/source/core/text/blink.cxx +++ b/sw/source/core/text/blink.cxx @@ -40,21 +40,21 @@ #define BLINK_OFF_TIME 800L /************************************************************************* - * pBlink zeigt auf die Instanz, bei der sich blinkende Portions anmelden - * muessen, ggf. muss pBlink erst per new SwBlink angelegt werden. - * Diese werden dann rhythmisch zum Repaint angeregt und koennen abfragen, - * ob sie zur Zeit sichtbar oder unsichtbar sein sollen ( IsVisible() ). + * pBlink points to the instance where blinking portions need to register. + * If necessary, it needs to be created by SwBlink. + * They are then triggered rhythimcally for a repaint. They can query + * for being visible or invisible with IsVisible(). *************************************************************************/ SwBlink *pBlink = NULL; -// Liste von blinkenden Portions +// List of blinking portions SV_IMPL_OP_PTRARR_SORT( SwBlinkList, SwBlinkPortionPtr ) SwBlink::SwBlink() { bVisible = sal_True; - // Den Timer vorbereiten + // Prepare the timer aTimer.SetTimeout( BLINK_ON_TIME ); aTimer.SetTimeoutHdl( LINK(this, SwBlink, Blinker) ); } @@ -65,10 +65,9 @@ SwBlink::~SwBlink( ) } /************************************************************************* - * SwBlink::Blinker (Timerablauf): - * Sichtbar/unsichtbar-Flag toggeln. - * Repaint-Rechtecke der Blinkportions ermitteln und an ihren OleShells - * invalidieren. + * SwBlink::Blinker (timer): + * Toggle visibility flag + * Determine the repaint rectangle and invalidate them in their OleShells. *************************************************************************/ IMPL_LINK_NOARG(SwBlink, Blinker) @@ -123,11 +122,11 @@ IMPL_LINK_NOARG(SwBlink, Blinker) ((SwRootFrm*)pTmp->GetRootFrm()) ->GetCurrShell()->InvalidateWindows( aRefresh ); } - else // Portions ohne Shell koennen aus der Liste entfernt werden. + else // Portions without a shell can be removed from the list aList.Remove( nPos ); } } - else // Wenn die Liste leer ist, kann der Timer gestoppt werden. + else // If the list is empty, the timer can be stopped aTimer.Stop(); return sal_True; } |