summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/diagram/VDiagram.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx
index b91637d30c3c..58bb49f0d21e 100644
--- a/chart2/source/view/diagram/VDiagram.cxx
+++ b/chart2/source/view/diagram/VDiagram.cxx
@@ -91,7 +91,7 @@ VDiagram::~VDiagram()
void VDiagram::init(
const uno::Reference< drawing::XShapes >& xTarget, const uno::Reference< lang::XMultiServiceFactory >& xFactory )
{
- OSL_PRECOND(xLogicTarget.is() && xFactory.is(), "no proper initialization parameters");
+ OSL_PRECOND(xFactory.is(), "no proper initialization parameters");
m_xTarget = xTarget;
m_xShapeFactory = xFactory;