diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-10-05 22:43:47 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-11-19 13:47:33 +0100 |
commit | 40e4b1a8ba993a68f820ceedec126e2365052240 (patch) | |
tree | d97f8c6f4823f69f205d001426a1758290d8a86c | |
parent | ee5ef16d352bdcb2eb8fe1f4530b7f5c43bed911 (diff) |
some small fixes
Change-Id: I9e18fc04e0e8d8be0bed0b9c7b80fd0e983893f1
-rw-r--r-- | chart2/source/view/diagram/VDiagram.cxx | 1 | ||||
-rw-r--r-- | chart2/source/view/main/DummyShapeFactory.cxx | 1 | ||||
-rw-r--r-- | chart2/source/view/main/PlotterBase.cxx | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index 36b0d20b3815..643146c84579 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -85,7 +85,6 @@ VDiagram::VDiagram( VDiagram::~VDiagram() { - delete m_pShapeFactory; } void VDiagram::init( diff --git a/chart2/source/view/main/DummyShapeFactory.cxx b/chart2/source/view/main/DummyShapeFactory.cxx index 19f903099c11..452de3a71641 100644 --- a/chart2/source/view/main/DummyShapeFactory.cxx +++ b/chart2/source/view/main/DummyShapeFactory.cxx @@ -86,6 +86,7 @@ uno::Reference<drawing::XShape> , const drawing::Position3D& , const drawing::Direction3D& , sal_Int32 ) { + return new DummyXShape(); } uno::Reference<drawing::XShape> diff --git a/chart2/source/view/main/PlotterBase.cxx b/chart2/source/view/main/PlotterBase.cxx index a81b04138395..94eee35ea63b 100644 --- a/chart2/source/view/main/PlotterBase.cxx +++ b/chart2/source/view/main/PlotterBase.cxx @@ -56,7 +56,6 @@ void PlotterBase::initPlotter( const uno::Reference< drawing::XShapes >& xLogic PlotterBase::~PlotterBase() { - delete m_pShapeFactory; } void PlotterBase::setScales( const std::vector< ExplicitScaleData >& rScales, bool bSwapXAndYAxis ) |