summaryrefslogtreecommitdiff
path: root/include/oox/drawingml/shape.hxx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-03-11 16:07:34 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-03-11 17:34:22 +0000
commitcdd4a9fa539bcfc11dda35adda4b290ceab9e0b0 (patch)
tree8fdc4be9bf097ca0c3ee95c1f2a465e4e451b6b1 /include/oox/drawingml/shape.hxx
parent28e61b634353110445e334ccaa415d7fb6629d62 (diff)
Passing shaperect to addShape function is useless
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 <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'include/oox/drawingml/shape.hxx')
-rw-r--r--include/oox/drawingml/shape.hxx2
1 files changed, 0 insertions, 2 deletions
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,