summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-04 13:53:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-04 13:53:26 +0000
commit82ef4d5f0bfd009bb28392b50ce109936f879a36 (patch)
tree76f3ae3b44417d97501bb08309fe43a2741e3d61
parent2ede8d0a33982958d0c9a2eae5346c6177a0d4df (diff)
Resolves: rhbz#659947 make this more robust
-rw-r--r--framework/source/services/backingcomp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx
index 9970acf010..3ed5d742e8 100644
--- a/framework/source/services/backingcomp.cxx
+++ b/framework/source/services/backingcomp.cxx
@@ -499,7 +499,7 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f
Window* pWindow = VCLUnoHelper::GetWindow(m_xWindow);
// disable full screen mode of the frame!
- if (pParent->IsFullScreenMode())
+ if (pParent && pParent->IsFullScreenMode())
{
pParent->ShowFullScreenMode(FALSE);
pParent->SetMenuBarMode(MENUBAR_MODE_NORMAL);