diff options
Diffstat (limited to 'vcl/source/app/vclevent.cxx')
-rw-r--r-- | vcl/source/app/vclevent.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/vcl/source/app/vclevent.cxx b/vcl/source/app/vclevent.cxx index 4fec056aeb00..2cab94c4561e 100644 --- a/vcl/source/app/vclevent.cxx +++ b/vcl/source/app/vclevent.cxx @@ -92,17 +92,11 @@ VclWindowEvent::VclWindowEvent( vcl::Window* pWin, VclEventId n, void* pDat ) : VclWindowEvent::~VclWindowEvent() {} VclMenuEvent::VclMenuEvent( Menu* pM, VclEventId n, sal_uInt16 nPos ) - : VclSimpleEvent(n), mnPos(nPos) -{ - SolarMutexGuard aGuard; - pMenu = pM; -} + : VclSimpleEvent(n), pMenu(pM), mnPos(nPos) +{} VclMenuEvent::~VclMenuEvent() -{ - SolarMutexGuard aGuard; - pMenu.clear(); -} +{} Menu* VclMenuEvent::GetMenu() const { |