[Libreoffice-commits] .: framework/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 29 12:59:11 PST 2010
framework/source/services/backingcomp.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 813572c5d774a71a221eaa72f131100ed134c899
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 29 20:23:41 2010 +0000
Resolves: rhbz#666216 survive missing window
diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx
index 3ed5d74..98c468d 100644
--- a/framework/source/services/backingcomp.cxx
+++ b/framework/source/services/backingcomp.cxx
@@ -522,8 +522,11 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f
xLayoutManager->unlock();
}
- // set help ID for our canvas
- pWindow->SetHelpId(HID_BACKINGWINDOW);
+ if (pWindow)
+ {
+ // set help ID for our canvas
+ pWindow->SetHelpId(HID_BACKINGWINDOW);
+ }
// inform BackingWindow about frame
BackingWindow* pBack = dynamic_cast<BackingWindow*>(pWindow );
More information about the Libreoffice-commits
mailing list