summaryrefslogtreecommitdiff
path: root/vcl/source/window/syschild.cxx
diff options
context:
space:
mode:
authorLuc Castermans <luc.castermans@gmail.com>2014-03-02 11:28:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-03 09:39:49 -0600
commit7f3b87965e6d754b10c74871a4fe76485bcc6cfe (patch)
treeb6eb9a9b3c1815278808d14704d4d63ea7f870a9 /vcl/source/window/syschild.cxx
parent7a5f564a799b8654b81454005f4887c6dc774ef0 (diff)
Translated German comments - find-german-comments clean now
Conflicts: vcl/source/window/seleng.cxx Change-Id: Ie7733c9bdb5813ef4efb4bbb95223a6d683f9945 Reviewed-on: https://gerrit.libreoffice.org/8409 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/syschild.cxx')
-rw-r--r--vcl/source/window/syschild.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/vcl/source/window/syschild.cxx b/vcl/source/window/syschild.cxx
index eab804ce50d0..32c26c097a48 100644
--- a/vcl/source/window/syschild.cxx
+++ b/vcl/source/window/syschild.cxx
@@ -64,9 +64,9 @@ long ImplSysChildProc( void* pInst, SalObject* /* pObject */,
switch ( nEvent )
{
case SALOBJ_EVENT_GETFOCUS:
- // Focus holen und zwar so, das alle Handler gerufen
- // werden, als ob dieses Fenster den Focus bekommt,
- // ohne das der Frame den Focus wieder klaut
+ // get focus, such that all handlers are called,
+ // as if this window gets the focus assuring
+ // that the frame does not steal it
pWindow->ImplGetFrameData()->mbSysObjFocus = true;
pWindow->ImplGetFrameData()->mbInSysObjToTopHdl = true;
pWindow->ToTop( TOTOP_NOGRABFOCUS );
@@ -81,9 +81,8 @@ long ImplSysChildProc( void* pInst, SalObject* /* pObject */,
break;
case SALOBJ_EVENT_LOSEFOCUS:
- // Hintenrum einen LoseFocus ausloesen, das der Status
- // der Fenster dem entsprechenden Activate-Status
- // entspricht
+ // trigger a LoseFocus which matches the status
+ // of the window with matching Activate-Status
pWindow->ImplGetFrameData()->mbSysObjFocus = false;
if ( !pWindow->ImplGetFrameData()->mnFocusId )
{
@@ -118,7 +117,7 @@ void SystemChildWindow::ImplInitSysChild( Window* pParent, WinBits nStyle, Syste
Window::ImplInit( pParent, nStyle, NULL );
- // Wenn es ein richtiges SysChild ist, dann painten wir auch nicht
+ // we do not paint if it is the right SysChild
if ( GetSystemData() )
{
mpWindowImpl->mpSysObj->SetCallback( this, ImplSysChildProc );