Kaydet (Commit) 88af59fa authored tarafından Caolán McNamara's avatar Caolán McNamara

CID#1103719 leak on default: path

Change-Id: I74a17da384499fb18f13d5caa04c356dfee71eff
üst 483ea555
......@@ -97,16 +97,16 @@ uno::Reference<xml::sax::XFastContextHandler> ShapeContextHandler::getChartShape
{
if (!mxChartShapeContext.is())
{
ContextHandler2Helper *rFragmentHandler
(new ShapeFragmentHandler(*mxFilterBase, msRelationFragmentPath));
ShapePtr pMasterShape;
switch (nElement & 0xffff)
{
case XML_chart:
{
ContextHandler2Helper *rFragmentHandler
(new ShapeFragmentHandler(*mxFilterBase, msRelationFragmentPath));
mpShape.reset(new Shape("com.sun.star.drawing.OLE2Shape" ));
mxChartShapeContext.set(new ChartGraphicDataContext(*rFragmentHandler, mpShape, true));
break;
}
default:
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment