diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-05 09:59:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-05 17:35:08 +0200 |
commit | 9e57e164844e67faaf2b0424181c2df29e871992 (patch) | |
tree | 7932e66cc45c786e0055bea6603f4284ebb856fb /chart2 | |
parent | 7fe756570fb4ab30f540d644fd5125a67c2d9ea9 (diff) |
loplugin:unusedvariableplus
Change-Id: Id93086be1224b6f6bf0bdaa1d50b4f289099027e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133876
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/drawinglayer/ViewElementListProvider.cxx | 4 | ||||
-rw-r--r-- | chart2/source/model/template/NetChartTypeTemplate.cxx | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx index 77099c9444fe..ef7eba88eb65 100644 --- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx +++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx @@ -110,10 +110,6 @@ SdrObjList* ViewElementListProvider::GetSymbolList() const { //@todo use mutex - //get shape factory - uno::Reference<lang::XMultiServiceFactory> xShapeFactory( - m_pDrawModelWrapper->getShapeFactory()); - //get hidden draw page (target): rtl::Reference<SvxDrawPage> xTarget = m_pDrawModelWrapper->getHiddenDrawPage(); diff --git a/chart2/source/model/template/NetChartTypeTemplate.cxx b/chart2/source/model/template/NetChartTypeTemplate.cxx index 5632ac648f07..7f120315bead 100644 --- a/chart2/source/model/template/NetChartTypeTemplate.cxx +++ b/chart2/source/model/template/NetChartTypeTemplate.cxx @@ -88,9 +88,6 @@ bool NetChartTypeTemplate::matchesTemplate( { bool bResult = ChartTypeTemplate::matchesTemplate( xDiagram, bAdaptProperties ); - rtl::Reference< ChartType > xChartType = - DiagramHelper::getChartTypeByIndex( xDiagram, 0 ); - if( bResult ) { //filled net chart?: |