summaryrefslogtreecommitdiff
path: root/include/oox/vml
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-11 10:46:53 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-11 18:12:47 +0200
commit5aeb15e95d26ce6de28eb5f5933324828d553f41 (patch)
tree02ec28c990d4c0caf2fbb8e89f192d94082be412 /include/oox/vml
parentde20853e5243843ac9f4c5927ce0b4cf0e407c15 (diff)
refactor to return the position to be set by the caller instead
no change in behavior intended Change-Id: I32043bdf1d29521d8503df315fa786236e272f7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155580 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include/oox/vml')
-rw-r--r--include/oox/vml/vmlshape.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx
index d46c23282324..8c63d8cbd26c 100644
--- a/include/oox/vml/vmlshape.hxx
+++ b/include/oox/vml/vmlshape.hxx
@@ -267,8 +267,8 @@ public:
const css::uno::Reference< css::drawing::XShapes >& rxShapes,
const ShapeParentAnchor* pParentAnchor = nullptr ) const;
- /** Converts position and formatting into the passed existing XShape. */
- void convertFormatting(
+ /** Converts formatting into the passed existing XShape and returns position. */
+ css::awt::Rectangle convertFormatting(
const css::uno::Reference< css::drawing::XShape >& rxShape ) const;
void setContainer(ShapeContainer* pContainer);