diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-02 14:25:01 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-02 14:25:01 +0000 |
commit | 18123535c421e285dbe6ffc458fd24f4b8b48e2e (patch) | |
tree | a25eb09e7d05c3c92f3f5fb13d3032f037b65f8c /basic/source | |
parent | 7f4f4deade33da20c8c3b097f1900dde7e41beba (diff) |
INTEGRATION: CWS beta2regression02 (1.14.2); FILE MERGED
2003/04/29 11:14:43 ab 1.14.2.1: #109208# checkUnoStructCopy(): Check for NULL object
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/runtime/step0.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx index dfd89eeb552c..950ec184c4d8 100644 --- a/basic/source/runtime/step0.cxx +++ b/basic/source/runtime/step0.cxx @@ -2,9 +2,9 @@ * * $RCSfile: step0.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: vg $ $Date: 2003-04-24 14:02:10 $ + * last change: $Author: vg $ $Date: 2003-05-02 15:25:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -197,7 +197,7 @@ inline void checkUnoStructCopy( SbxVariableRef& refVal, SbxVariableRef& refVar ) return; SbxObjectRef xValObj = (SbxObject*)refVal->GetObject(); - if( xValObj->ISA(SbUnoAnyObject) ) + if( !xValObj.Is() || xValObj->ISA(SbUnoAnyObject) ) return; SbxObjectRef xVarObj = (SbxObject*)refVar->GetObject(); |