Kaydet (Commit) bf1f49c8 authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Thorsten Behrens

Fix crash on deactivating Chart after playing around

Change-Id: I55fab9213d3571e9457c1a0e0d68574ab4760d1e
Reviewed-on: https://gerrit.libreoffice.org/55931
Tested-by: Jenkins
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 596820a5
......@@ -1344,9 +1344,15 @@ tools::Rectangle SidebarController::GetDeckDragArea() const
{
tools::Rectangle aRect;
VclPtr<DeckTitleBar> pTitleBar = mpCurrentDeck->GetTitleBar();
if ( pTitleBar)
aRect = pTitleBar->GetDragArea();
if(mpCurrentDeck)
{
VclPtr<DeckTitleBar> pTitleBar(mpCurrentDeck->GetTitleBar());
if(pTitleBar)
{
aRect = pTitleBar->GetDragArea();
}
}
return aRect;
}
......
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