From ad51b6c85da5fd2e12130f453bcd5dbc8bf83f0e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Jan 2022 09:19:53 +0200 Subject: no need to pass around a ShapeFactory instance since the methods are all static now Change-Id: I4296a22f0d9ce86df8f1b36c4a1babc7e9d5c070 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127883 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/view/main/VButton.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chart2/source/view/main/VButton.cxx') diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx index 7894c5796b51..c53b4dc75282 100644 --- a/chart2/source/view/main/VButton.cxx +++ b/chart2/source/view/main/VButton.cxx @@ -35,11 +35,9 @@ VButton::VButton() { } -void VButton::init(const rtl::Reference& xTargetPage, - const uno::Reference& xFactory) +void VButton::init(const rtl::Reference& xTargetPage) { m_xTarget = xTargetPage; - m_xShapeFactory = xFactory; } rtl::Reference VButton::createTriangle(awt::Size aSize) -- cgit