summaryrefslogtreecommitdiff
path: root/sw/source/uibase/frmdlg/frmmgr.cxx
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/source/uibase/frmdlg/frmmgr.cxx
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/source/uibase/frmdlg/frmmgr.cxx')
-rw-r--r--sw/source/uibase/frmdlg/frmmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/frmdlg/frmmgr.cxx b/sw/source/uibase/frmdlg/frmmgr.cxx
index e6d788f0e6c9..d135f5f2d24b 100644
--- a/sw/source/uibase/frmdlg/frmmgr.cxx
+++ b/sw/source/uibase/frmdlg/frmmgr.cxx
@@ -261,7 +261,7 @@ void SwFlyFrameAttrMgr::SetAbsPos( const Point& rPoint )
// check metrics for correctness
void SwFlyFrameAttrMgr::ValidateMetrics( SvxSwFrameValidation& rVal,
- const SwPosition* pToCharContentPos,
+ const SwFormatAnchor* pToCharContentPos,
bool bOnlyPercentRefValue )
{
if (!bOnlyPercentRefValue)