summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-04-26 13:22:22 +0000
committerKurt Zenker <kz@openoffice.org>2006-04-26 13:22:22 +0000
commit3335a7fdbdbce200964ef792b43893f4f1803b57 (patch)
tree163bf0dbbc940bf755fed2356c18ac71f64846ee /svtools
parent8f461cd1f541cf322453e30862578b4bfab2edb7 (diff)
INTEGRATION: CWS fwk37 (1.14.88); FILE MERGED
2006/04/05 14:20:12 mav 1.14.88.2: RESYNC: (1.14-1.15); FILE MERGED 2006/03/31 13:21:08 mav 1.14.88.1: #128950# check the provided reference
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/embedhlp.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index c0decb83905b..8c3c9c568da9 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: embedhlp.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: obo $ $Date: 2006-03-24 13:06:02 $
+ * last change: $Author: kz $ $Date: 2006-04-26 14:22:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -705,6 +705,9 @@ BOOL EmbeddedObjectRef::TryRunningState()
BOOL EmbeddedObjectRef::TryRunningState( const uno::Reference < embed::XEmbeddedObject >& xEmbObj )
{
+ if ( !xEmbObj.is() )
+ return FALSE;
+
try
{
if ( xEmbObj->getCurrentState() == embed::EmbedStates::LOADED )