From 541183662f16f0405d621e320e4cdf50b46c42f2 Mon Sep 17 00:00:00 2001 From: Tomas O'Connor Date: Thu, 19 Jun 2003 10:11:41 +0000 Subject: IssueZilla 15777 - Office crashes when attempting to run document script --- scripting/source/runtimemgr/ScriptNameResolverImpl.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripting/source') 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 +#include #include #include @@ -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 -- cgit