diff options
author | Duncan Foster <dfoster@openoffice.org> | 2003-07-23 11:13:38 +0000 |
---|---|---|
committer | Duncan Foster <dfoster@openoffice.org> | 2003-07-23 11:13:38 +0000 |
commit | c78979c547c813c5f68b157807a03c7e0abae5d2 (patch) | |
tree | 158e4a6d31fce9eeb5913de7fb4b8f33cdf33cc0 /scripting/source | |
parent | 29cc426bfc4eedc2b15b0b54c33865e0e843ef74 (diff) |
#i15986#
Clerar the hasp map after save. Otherwise crash on 2nd save.
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/storage/ScriptStorage.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripting/source/storage/ScriptStorage.cxx b/scripting/source/storage/ScriptStorage.cxx index 7bf31ec192b9..c3077d4c3420 100644 --- a/scripting/source/storage/ScriptStorage.cxx +++ b/scripting/source/storage/ScriptStorage.cxx @@ -2,8 +2,8 @@ * * $RCSfile: ScriptStorage.cxx,v $ * -* $Revision: 1.26 $ -* last change: $Author: dfoster $ $Date: 2003-07-23 10:19:56 $ +* $Revision: 1.27 $ +* last change: $Author: dfoster $ $Date: 2003-07-23 12:13:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -656,6 +656,10 @@ throw ( RuntimeException ) xOS->closeOutput(); } + + // clear the hash map, as all output streams have been closed. + // need to re-create on next save + mh_parcels.clear(); } // *** TODO - other exception handling IO etc. catch ( RuntimeException & re ) |