From cdd4a9fa539bcfc11dda35adda4b290ceab9e0b0 Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Sat, 11 Mar 2017 16:07:34 +0100 Subject: Passing shaperect to addShape function is useless MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shaperect is ignored by createAndInsert() so it has no effect at all. Also when this parameter is set the size and position is set using the same shaperect, so don't need to pass it also as a parameter. Change-Id: I35a7953f3eda1bdd19af6f3e77c55b5c7e1f7161 Reviewed-on: https://gerrit.libreoffice.org/35073 Tested-by: Jenkins Reviewed-by: Tamás Zolnai --- include/oox/drawingml/shape.hxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/oox') diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index 1bc3fb7bbfba..b908046458a6 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -175,7 +175,6 @@ public: const css::uno::Reference< css::drawing::XShapes >& rxShapes, const basegfx::B2DHomMatrix& aTransformation, FillProperties& rShapeOrParentShapeFillProps, - const css::awt::Rectangle* pShapeRect = nullptr, ShapeIdMap* pShapeMap = nullptr ); void addChildren( @@ -220,7 +219,6 @@ protected: const OUString& rServiceName, const Theme* pTheme, const css::uno::Reference< css::drawing::XShapes >& rxShapes, - const css::awt::Rectangle* pShapeRect, bool bClearText, bool bDoNotInsertEmptyTextBody, basegfx::B2DHomMatrix& aTransformation, -- cgit