diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-11-29 20:56:55 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-11-29 20:56:55 +0100 |
commit | 3aa7d26a8c5d6a09f2653b701d905c3ac7d260b8 (patch) | |
tree | 33453a527cd8b6a8fa5c88135742d3716f907cde /sfx2/source/view/frame.cxx | |
parent | 93a7b558588be1f12e137329548b706daccc07df (diff) |
#i10000#
Diffstat (limited to 'sfx2/source/view/frame.cxx')
-rw-r--r-- | sfx2/source/view/frame.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index 15b3deb67942..8b0380010a18 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -905,12 +905,12 @@ void SfxFrame::GrabFocusOnComponent_Impl() return; } - Window* pWindow = &GetWindow(); + Window* pFocusWindow = &GetWindow(); if ( GetCurrentViewFrame() && GetCurrentViewFrame()->GetViewShell() && GetCurrentViewFrame()->GetViewShell()->GetWindow() ) - pWindow = GetCurrentViewFrame()->GetViewShell()->GetWindow(); + pFocusWindow = GetCurrentViewFrame()->GetViewShell()->GetWindow(); - if( !pWindow->HasChildPathFocus() ) - pWindow->GrabFocus(); + if( !pFocusWindow->HasChildPathFocus() ) + pFocusWindow->GrabFocus(); } void SfxFrame::ReleasingComponent_Impl( sal_Bool bSet ) |