summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-05-14 18:00:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-15 08:40:46 +0200
commit4582acb3eeb2af0411ab8598ec17d74381225acf (patch)
treeeb2c62fc8ac59c17d6303b73ac5cd2f2ef29d2a8 /sc
parentb9d75dea30adaa53be58c112f255c9fcd3eea400 (diff)
remove some unnecessary locking
Change-Id: I7da9e82930d3fe8f927c495aeca270b8bb5cf65c Reviewed-on: https://gerrit.libreoffice.org/37602 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/PivotTableDataProvider.cxx2
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx1
3 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/PivotTableDataProvider.cxx b/sc/source/ui/unoobj/PivotTableDataProvider.cxx
index ce7844e6ee7c..8dcb1e776379 100644
--- a/sc/source/ui/unoobj/PivotTableDataProvider.cxx
+++ b/sc/source/ui/unoobj/PivotTableDataProvider.cxx
@@ -700,14 +700,12 @@ uno::Sequence<beans::PropertyValue> SAL_CALL PivotTableDataProvider::detectArgum
sal_Bool SAL_CALL PivotTableDataProvider::createDataSequenceByRangeRepresentationPossible(const OUString& /*aRangeRepresentation*/)
{
- SolarMutexGuard aGuard;
return false;
}
uno::Reference<chart2::data::XDataSequence> SAL_CALL
PivotTableDataProvider::createDataSequenceByRangeRepresentation(const OUString& /*rRangeRepresentation*/)
{
- SolarMutexGuard aGuard;
uno::Reference<chart2::data::XDataSequence> xDataSequence;
return xDataSequence;
}
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 54ef310917e9..c5fb3990c77c 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -6292,7 +6292,6 @@ void SAL_CALL ScCellObj::removeTextContent( const uno::Reference<text::XTextCont
uno::Reference<text::XText> SAL_CALL ScCellObj::getText()
{
- SolarMutexGuard aGuard;
return this;
}
@@ -6896,7 +6895,6 @@ uno::Reference<sheet::XSheetCellCursor> SAL_CALL ScTableSheetObj::createCursorBy
uno::Reference<sheet::XSpreadsheet> SAL_CALL ScTableSheetObj::getSpreadsheet()
{
- SolarMutexGuard aGuard;
return this; //!???
}
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index ba0de26e515c..0e59d3f5229c 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -1185,7 +1185,6 @@ void SAL_CALL ScShapeObj::insertControlCharacter( const uno::Reference<text::XTe
uno::Reference<text::XText> SAL_CALL ScShapeObj::getText()
{
- SolarMutexGuard aGuard;
return this;
}