summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-24 15:21:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-24 18:55:43 +0100
commit493a714d4a62f78a4726d09d3258c425939c94c3 (patch)
tree67e79f9709451ee9767867d26ee0c245fc04a234 /sw/inc
parent46eb2fa586b683858dc35cc535e0f30108b1cdbe (diff)
pass SwFormatAnchor to SwFEShell::CalcBoundRect
part of the process of making SwFormatAnchor not use an SwPosition (because SwFormatAnchor does weird does with the internals of an SwPosition) Change-Id: I1694ae83070082f10699aa7b3bd2a043c518d0c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143227 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fesh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 8a94960d3e29..63dc89afbc74 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -333,7 +333,7 @@ public:
const RndStdIds _nAnchorId,
const sal_Int16 _eHoriRelOrient = css::text::RelOrientation::FRAME,
const sal_Int16 _eVertRelOrient = css::text::RelOrientation::FRAME,
- const SwPosition* _pToCharContentPos = nullptr,
+ const SwFormatAnchor* _pToCharContentPos = nullptr,
const bool _bFollowTextFlow = false,
bool _bMirror = false,
Point* _opRef = nullptr,