summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 11:23:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 12:14:56 +0200
commit97f391d4e5ed89425ca6c5ad52d159a7ce8fdee2 (patch)
treef9ac19fde17d7c25fc36e065f0b220f034ce7532 /sd
parent214e0847f5d1666b4cf23a833bb757f6bace04d0 (diff)
loplugin:checkunusedparams in svx(part1)
Change-Id: Ie98ec3be5ece2579feca050563c5ab7776ad6a7e Reviewed-on: https://gerrit.libreoffice.org/37227 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fucon3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx
index dfbb806136b6..1d12e5bf85fb 100644
--- a/sd/source/ui/func/fucon3d.cxx
+++ b/sd/source/ui/func/fucon3d.cxx
@@ -373,7 +373,7 @@ SdrObject* FuConstruct3dObject::CreateDefaultObject(const sal_uInt16 nID, const
double fW(aVolume.getWidth());
double fH(aVolume.getHeight());
::tools::Rectangle a3DRect(0, 0, (long)fW, (long)fH);
- E3dScene* pScene = new E3dScene(mpView->Get3DDefaultAttributes());
+ E3dScene* pScene = new E3dScene;
// copied code from E3dView::InitScene
double fCamZ(aVolume.getMaxZ() + ((fW + fH) / 4.0));