From c73f01822c40d8b7c928e3d6fd0729805cf58c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Stefanik?= Date: Sat, 7 Apr 2012 21:18:39 +0200 Subject: [PATCH] Remove unused constructor for ParametricPolyPolygon --- canvas/inc/canvas/parametricpolypolygon.hxx | 6 ------ canvas/source/tools/parametricpolypolygon.cxx | 15 --------------- unusedcode.easy | 1 - 3 files changed, 22 deletions(-) diff --git a/canvas/inc/canvas/parametricpolypolygon.hxx b/canvas/inc/canvas/parametricpolypolygon.hxx index d1f2d8186a3d..16a691637b1f 100644 --- a/canvas/inc/canvas/parametricpolypolygon.hxx +++ b/canvas/inc/canvas/parametricpolypolygon.hxx @@ -144,12 +144,6 @@ namespace canvas double fAspect ); /// Private, because objects can only be created from the static factories - ParametricPolyPolygon( const ::com::sun::star::uno::Reference< - ::com::sun::star::rendering::XGraphicDevice >& rDevice, - const ::basegfx::B2DPolygon& rGradientPoly, - GradientType eType, - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< double > >& colors, - const ::com::sun::star::uno::Sequence< double >& stops ); ParametricPolyPolygon( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, const ::basegfx::B2DPolygon& rGradientPoly, diff --git a/canvas/source/tools/parametricpolypolygon.cxx b/canvas/source/tools/parametricpolypolygon.cxx index 45e9c0d9b735..ea7675ae2b4a 100644 --- a/canvas/source/tools/parametricpolypolygon.cxx +++ b/canvas/source/tools/parametricpolypolygon.cxx @@ -234,21 +234,6 @@ namespace canvas { } - ParametricPolyPolygon::ParametricPolyPolygon( const uno::Reference< rendering::XGraphicDevice >& rDevice, - const ::basegfx::B2DPolygon& rGradientPoly, - GradientType eType, - const uno::Sequence< uno::Sequence< double > >& rColors, - const uno::Sequence< double >& rStops ) : - ParametricPolyPolygon_Base( m_aMutex ), - mxDevice( rDevice ), - maValues( rGradientPoly, - rColors, - rStops, - 1.0, - eType ) - { - } - ParametricPolyPolygon::ParametricPolyPolygon( const uno::Reference< rendering::XGraphicDevice >& rDevice, const ::basegfx::B2DPolygon& rGradientPoly, GradientType eType, diff --git a/unusedcode.easy b/unusedcode.easy index 56119738e04c..6504e38b7309 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -702,7 +702,6 @@ cairocanvas::CanvasHelper::flush() const cairocanvas::CanvasHelper::getPalette() cairocanvas::SpriteDeviceHelper::getSurface() cairocanvas::TextLayout::draw(_cairo*) -canvas::ParametricPolyPolygon::ParametricPolyPolygon(com::sun::star::uno::Reference const&, basegfx::B2DPolygon const&, canvas::ParametricPolyPolygon::GradientType, com::sun::star::uno::Sequence > const&, com::sun::star::uno::Sequence const&) canvas::PropertySetHelper::PropertySetHelper(std::__debug::vector::MapEntry, std::allocator::MapEntry> > const&) canvas::createSurfaceProxyManager(boost::shared_ptr const&) canvas::tools::ElapsedTime::getTimeBase() const