Kaydet (Commit) 07ce6f11 authored tarafından Ras-al-Ghul's avatar Ras-al-Ghul Kaydeden (comit) Michael Meeks

tdf#96888 Kill internal vcl dog-tags ...

Did some changes to menufloatingwindow.cxx file. Patch No. 17

Change-Id: I3b7c9beb5f3e55930f66c463d4341b5a78d51bc1
Reviewed-on: https://gerrit.libreoffice.org/21234Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst f78ec21a
...@@ -977,8 +977,7 @@ void MenuFloatingWindow::ImplCursorUpDown( bool bUp, bool bHomeEnd ) ...@@ -977,8 +977,7 @@ void MenuFloatingWindow::ImplCursorUpDown( bool bUp, bool bHomeEnd )
void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent ) void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent )
{ {
ImplDelData aDelData; VclPtr<vcl::Window> xWindow = this;
ImplAddDel( &aDelData );
sal_uInt16 nCode = rKEvent.GetKeyCode().GetCode(); sal_uInt16 nCode = rKEvent.GetKeyCode().GetCode();
bKeyInput = true; bKeyInput = true;
...@@ -1135,9 +1134,8 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent ) ...@@ -1135,9 +1134,8 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent )
} }
} }
// #105474# check if menu window was not destroyed // #105474# check if menu window was not destroyed
if ( !aDelData.IsDead() ) if ( !xWindow->IsDisposed() )
{ {
ImplRemoveDel( &aDelData );
bKeyInput = false; bKeyInput = false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment