Kaydet (Commit) ce989d9a authored tarafından Antonio Fernandez's avatar Antonio Fernandez Kaydeden (comit) Bjoern Michaelsen

Fixed a crash on non-Unity WM.

Change-Id: Ia8f82024e56ad83c8979d60df3c94e8209fe2552
üst 171b188e
...@@ -401,7 +401,8 @@ GtkSalMenu::~GtkSalMenu() ...@@ -401,7 +401,8 @@ GtkSalMenu::~GtkSalMenu()
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
if ( mbMenuBar == sal_True ) if ( mbMenuBar == sal_True )
((GtkSalFrame*) mpFrame)->SetMenu( NULL ); if ( mpFrame )
((GtkSalFrame*) mpFrame)->SetMenu( NULL );
maItems.clear(); maItems.clear();
} }
......
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