summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLTableShapeResizer.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-09-25 09:37:31 +0000
committerSascha Ballach <sab@openoffice.org>2001-09-25 09:37:31 +0000
commite386c3bdea26b1329a2fcc234677956a46bae3ce (patch)
tree7b8970c28e8209f45e20012425d4c37f8f212542 /sc/source/filter/xml/XMLTableShapeResizer.cxx
parent9483f451e262602479289ca85b9e65c5fc6207b4 (diff)
#92239#; only lock solar mutex if neccessary; only create neccessary strings
Diffstat (limited to 'sc/source/filter/xml/XMLTableShapeResizer.cxx')
-rw-r--r--sc/source/filter/xml/XMLTableShapeResizer.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.cxx b/sc/source/filter/xml/XMLTableShapeResizer.cxx
index 4e04a898b553..4e03cff07259 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.cxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLTableShapeResizer.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: sab $ $Date: 2001-09-13 15:15:15 $
+ * 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
@@ -179,6 +179,7 @@ void ScMyShapeResizer::ResizeShapes()
ScDocument* pDoc = rImport.GetDocument();
if ( pDoc && xIndex.is() )
{
+ rImport.LockSolarMutex();
while (aItr != aShapes.end())
{
if ((nOldSheet != aItr->aEndCell.Sheet) || !xSheet.is())
@@ -260,6 +261,7 @@ void ScMyShapeResizer::ResizeShapes()
delete aItr->pRangeList;
aItr = aShapes.erase(aItr);
}
+ rImport.UnlockSolarMutex();
// if (pCollection)
// pDoc->SetChartListenerCollection(pCollection);
}