diff options
author | Sascha Ballach <sab@openoffice.org> | 2001-09-25 09:37:31 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2001-09-25 09:37:31 +0000 |
commit | e386c3bdea26b1329a2fcc234677956a46bae3ce (patch) | |
tree | 7b8970c28e8209f45e20012425d4c37f8f212542 /sc/source/filter/xml/XMLTableSourceContext.cxx | |
parent | 9483f451e262602479289ca85b9e65c5fc6207b4 (diff) |
#92239#; only lock solar mutex if neccessary; only create neccessary strings
Diffstat (limited to 'sc/source/filter/xml/XMLTableSourceContext.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLTableSourceContext.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLTableSourceContext.cxx b/sc/source/filter/xml/XMLTableSourceContext.cxx index 94520899d0b1..4900ce23038b 100644 --- a/sc/source/filter/xml/XMLTableSourceContext.cxx +++ b/sc/source/filter/xml/XMLTableSourceContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTableSourceContext.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: sab $ $Date: 2001-07-26 06:51:19 $ + * last change: $Author: sab $ $Date: 2001-09-25 10:37:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -175,6 +175,7 @@ void ScXMLTableSourceContext::EndElement() ScDocument* pDoc = GetScImport().GetDocument(); if (xLinkable.is() && pDoc) { + GetScImport().LockSolarMutex(); if (pDoc->RenameTab( GetScImport().GetTables().GetCurrentSheet(), GetScImport().GetTables().GetCurrentSheetName(), sal_False, sal_True)) { @@ -197,6 +198,7 @@ void ScXMLTableSourceContext::EndElement() nLinkMode, aFileString, aFilterString, aOptString, aSheetString, nRefresh ); } + GetScImport().UnlockSolarMutex(); } } } |