diff options
author | Tomas O'Connor <toconnor@openoffice.org> | 2003-06-19 10:11:41 +0000 |
---|---|---|
committer | Tomas O'Connor <toconnor@openoffice.org> | 2003-06-19 10:11:41 +0000 |
commit | 541183662f16f0405d621e320e4cdf50b46c42f2 (patch) | |
tree | d0b83d9c5ef727281e20ce9a2172842f9d9bbaba /scripting/source | |
parent | faecdce1776b44540cf87299145a5d9e41b9abdb (diff) |
IssueZilla 15777 - Office crashes when attempting to run document script
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/runtimemgr/ScriptNameResolverImpl.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx b/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx index b3d0c9974777..2e4192611521 100644 --- a/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx +++ b/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ScriptNameResolverImpl.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: dfoster $ $Date: 2003-05-23 14:59:51 $ + * last change: $Author: toconnor $ $Date: 2003-06-19 11:11:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -60,6 +60,7 @@ ************************************************************************/ #include <vector> +#include <stdlib.h> #include <cppuhelper/implementationentry.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -154,7 +155,7 @@ throw ( lang::IllegalArgumentException, script::CannotConvertException, RuntimeE Any any; OUString docUri; - sal_Int32 filesysScriptStorageID; + sal_Int32 filesysScriptStorageID = -1; Reference < storage::XScriptStorageManager > xScriptStorageMgr; sal_Int32 docSid; try |