summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-09 11:26:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-09 11:26:25 +0100
commit03300fba21eb5f02ebd7e6a997985d8a3fa500da (patch)
tree09c5a9ca539ca68fa256ae76a081903cbc7ca203 /svx/source/unodraw
parentbd1afd3db1c94009656fd4f0915e1b43f8ca6dc4 (diff)
-Werror,-Wunused-private-field
Change-Id: I0cfa88efe03e8018513e2cce49ab9db63fe976d0
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/unopage.cxx2
-rw-r--r--svx/source/unodraw/unoshap2.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 20acc6c4bdd8..4532749471d1 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -655,7 +655,7 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, SdrInvent
pRet = new SvxShapeText( pObj );
break;
case OBJ_GRAF:
- pRet = new SvxGraphicObject( pObj, referer );
+ pRet = new SvxGraphicObject( pObj );
break;
case OBJ_FRAME:
pRet = new SvxFrameShape( pObj );
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index b237662242ab..bf8b7b706c0d 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -1279,8 +1279,8 @@ basegfx::B2DPolyPolygon SvxShapePolyPolygonBezier::GetPolygon() const throw()
}
}
-SvxGraphicObject::SvxGraphicObject(SdrObject* pObj, OUString const & referer)
- : SvxShapeText( pObj, getSvxMapProvider().GetMap(SVXMAP_GRAPHICOBJECT), getSvxMapProvider().GetPropertySet(SVXMAP_GRAPHICOBJECT, SdrObject::GetGlobalDrawObjectItemPool()) ), referer_(referer)
+SvxGraphicObject::SvxGraphicObject(SdrObject* pObj)
+ : SvxShapeText( pObj, getSvxMapProvider().GetMap(SVXMAP_GRAPHICOBJECT), getSvxMapProvider().GetPropertySet(SVXMAP_GRAPHICOBJECT, SdrObject::GetGlobalDrawObjectItemPool()) )
{
}