summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VButton.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-03 09:19:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-03 12:38:12 +0100
commitad51b6c85da5fd2e12130f453bcd5dbc8bf83f0e (patch)
tree0072226caef17ff2d615a5e66e70f9730ac600ba /chart2/source/view/main/VButton.cxx
parent3a93cc176da60e80a4a8876c535f30fb11fb4373 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/main/VButton.cxx')
-rw-r--r--chart2/source/view/main/VButton.cxx4
1 files changed, 1 insertions, 3 deletions
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<SvxShapeGroupAnyD>& xTargetPage,
- const uno::Reference<lang::XMultiServiceFactory>& xFactory)
+void VButton::init(const rtl::Reference<SvxShapeGroupAnyD>& xTargetPage)
{
m_xTarget = xTargetPage;
- m_xShapeFactory = xFactory;
}
rtl::Reference<SvxShapePolyPolygon> VButton::createTriangle(awt::Size aSize)