summaryrefslogtreecommitdiffstats
path: root/chart2/source/model/template/ChartTypeTemplate.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-09 09:22:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-10 06:28:22 +0000
commitb0229855057ed4d73e73ecd8c501a4564f2237ce (patch)
tree05a3e4eea3ea9584699063ed9b726d466f3a8839 /chart2/source/model/template/ChartTypeTemplate.cxx
parentRelated tdf#100151: use disposeAndClear for mpShowWindow (sd) (diff)
downloadcore-b0229855057ed4d73e73ecd8c501a4564f2237ce.tar.gz
core-b0229855057ed4d73e73ecd8c501a4564f2237ce.zip
loplugin:unusedfields
Change-Id: I9611511cb3480734dea3c3cbaf0d659071366ad1 Reviewed-on: https://gerrit.libreoffice.org/32873 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/template/ChartTypeTemplate.cxx')
-rw-r--r--chart2/source/model/template/ChartTypeTemplate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx
index 1b62e7af143d..06915bab71ec 100644
--- a/chart2/source/model/template/ChartTypeTemplate.cxx
+++ b/chart2/source/model/template/ChartTypeTemplate.cxx
@@ -376,7 +376,7 @@ Reference< chart2::XDataInterpreter > SAL_CALL ChartTypeTemplate::getDataInterpr
throw (uno::RuntimeException, std::exception)
{
if( ! m_xDataInterpreter.is())
- m_xDataInterpreter.set( new DataInterpreter( GetComponentContext() ) );
+ m_xDataInterpreter.set( new DataInterpreter );
return m_xDataInterpreter;
}