[Libreoffice-commits] core.git: vcl/source
Chris Sherlock
chris.sherlock79 at gmail.com
Fri May 23 23:23:47 PDT 2014
vcl/source/window/window.cxx | 23 -----------------------
1 file changed, 23 deletions(-)
New commits:
commit b5fb6b53c6a5f7aa9afd72d02b14737e23b3c0ed
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Sat May 24 16:22:47 2014 +1000
vcl: remove unnecessary commented out code in window.cxx
Change-Id: Icd8f53baf5fb9b3a311561da430b6dc9212c8295
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 98ccf06..60b5085 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2472,29 +2472,6 @@ void Window::Show( bool bVisible, sal_uInt16 nFlags )
if( aDogTag.IsDead() )
return;
- // #107575#, if a floating windows is shown that grabs the focus, we have to notify the toolkit about it
- // ImplGrabFocus() is not called in this case
- // Because this might lead to problems the task will be shifted to 6.y
- // Note: top-level context menus are registered at the access bridge after being shown,
- // so this will probably not help here....
- /*
- if( mpWindowImpl->mbFloatWin && ((FloatingWindow*) this )->GrabsFocus() )
- {
- ImplSVData* pSVData = ImplGetSVData();
- if( !mpWindowImpl->mbVisible )
- {
- ImplCallEventListeners( VCLEVENT_WINDOW_LOSEFOCUS );
- if( pSVData->maWinData.mpFocusWin )
- pSVData->maWinData.mpFocusWin->ImplCallEventListeners( VCLEVENT_WINDOW_GETFOCUS );
- }
- else
- {
- if( pSVData->maWinData.mpFocusWin )
- pSVData->maWinData.mpFocusWin->ImplCallEventListeners( VCLEVENT_WINDOW_LOSEFOCUS );
- ImplCallEventListeners( VCLEVENT_WINDOW_GETFOCUS );
- }
- }
- */
}
Size Window::GetSizePixel() const
More information about the Libreoffice-commits
mailing list