summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-12 13:13:53 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-12 13:13:53 +0000
commit9cc54e8593882788aef75a94002eb70e0dd1db14 (patch)
tree40ab33137588d7118b48aa76f853e267a35cf029 /framework
parentd84645e97de6437cab6693e776cdc95c3e1ecd0b (diff)
INTEGRATION: CWS fwk16 (1.5.82); FILE MERGED
2005/07/07 11:20:30 as 1.5.82.1: #120310# close dispatcher detects disposed frames now and handle it more gracefully
Diffstat (limited to 'framework')
-rw-r--r--framework/source/classes/framelistanalyzer.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/framework/source/classes/framelistanalyzer.cxx b/framework/source/classes/framelistanalyzer.cxx
index 3d606d87af32..414cffe81324 100644
--- a/framework/source/classes/framelistanalyzer.cxx
+++ b/framework/source/classes/framelistanalyzer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: framelistanalyzer.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kz $ $Date: 2005-03-01 19:35:00 $
+ * last change: $Author: kz $ $Date: 2005-07-12 14:13:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -194,7 +194,9 @@ void FrameListAnalyzer::impl_analyze()
css::uno::Reference< css::frame::XModel > xReferenceModel;
if ((m_eDetectMode & E_MODEL) == E_MODEL )
{
- css::uno::Reference< css::frame::XController > xReferenceController = m_xReferenceFrame->getController();
+ css::uno::Reference< css::frame::XController > xReferenceController;
+ if (m_xReferenceFrame.is())
+ xReferenceController = m_xReferenceFrame->getController();
if (xReferenceController.is())
xReferenceModel = xReferenceController->getModel();
}