summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-25 21:07:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-27 07:38:23 +0100
commit6c3b3832902157324af49bca5a16cebdf5ba3caf (patch)
tree94a4abd553ced6db1bce8cfe6db0ae29e16f115a /sc/source
parent260ea19fb5e9aaa4ffff3f3ba06fc9c295be8d6a (diff)
use comphelper::WeakComponentImplHelper in TablePivotChart
and remove some unnecessary use of SolarMutex Change-Id: I3934d89eb75f47a6b7051a8b737dcdbeecfa0c3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127529 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/unoobj/TablePivotChart.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/TablePivotChart.cxx b/sc/source/ui/unoobj/TablePivotChart.cxx
index 4ede28086fc5..ecc158002db7 100644
--- a/sc/source/ui/unoobj/TablePivotChart.cxx
+++ b/sc/source/ui/unoobj/TablePivotChart.cxx
@@ -28,8 +28,7 @@ namespace sc
SC_SIMPLE_SERVICE_INFO(TablePivotChart, "TablePivotChart", "com.sun.star.table.TablePivotChart")
TablePivotChart::TablePivotChart(ScDocShell* pDocShell, SCTAB nTab, const OUString& rName)
- : TablePivotChart_Base(m_aMutex)
- , m_pDocShell(pDocShell)
+ : m_pDocShell(pDocShell)
, m_nTab(nTab)
, m_aChartName(rName)
{
@@ -66,13 +65,11 @@ uno::Reference<lang::XComponent> SAL_CALL TablePivotChart::getEmbeddedObject()
OUString SAL_CALL TablePivotChart::getName()
{
- SolarMutexGuard aGuard;
return m_aChartName;
}
void SAL_CALL TablePivotChart::setName(OUString const & /* aName */)
{
- SolarMutexGuard aGuard;
throw uno::RuntimeException(); // name cannot be changed
}