summaryrefslogtreecommitdiff
path: root/svx/source/dialog/contwnd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/contwnd.cxx')
-rw-r--r--svx/source/dialog/contwnd.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/dialog/contwnd.cxx b/svx/source/dialog/contwnd.cxx
index c041a7240032..e404154ed46d 100644
--- a/svx/source/dialog/contwnd.cxx
+++ b/svx/source/dialog/contwnd.cxx
@@ -61,10 +61,7 @@ void ContourWindow::SetPolyPolygon(const tools::PolyPolygon& rPolyPoly)
{
basegfx::B2DPolyPolygon aPolyPolygon;
aPolyPolygon.append(aPolyPoly[ i ].getB2DPolygon());
- SdrPathObj* pPathObj = new SdrPathObj(
- *pModel,
- OBJ_PATHFILL,
- aPolyPolygon);
+ SdrPathObj* pPathObj = new SdrPathObj( OBJ_PATHFILL, aPolyPolygon );
SfxItemSet aSet(pModel->GetItemPool());