diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-28 13:34:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-28 21:01:05 +0100 |
commit | acc08fb5d3427f882d55e43167e9cca0eb344c24 (patch) | |
tree | 66271cea2555f251f8f90b5441c8ebeea5b9a538 /sw/source/filter/html/htmlfly.cxx | |
parent | 24cc33655c7d54741c8b8d80244a285471558f0f (diff) |
Add some more utility methods to SwFormatAnchor
Change-Id: I3ad607428470b95d32891cc18e8e82f0cf113626
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143380
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html/htmlfly.cxx')
-rw-r--r-- | sw/source/filter/html/htmlfly.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlfly.cxx b/sw/source/filter/html/htmlfly.cxx index f76f1d536888..c4fe7dfa1006 100644 --- a/sw/source/filter/html/htmlfly.cxx +++ b/sw/source/filter/html/htmlfly.cxx @@ -51,7 +51,7 @@ SwHTMLPosFlyFrame::SwHTMLPosFlyFrame( const SwPosFlyFrame& rPosFly, if( !rAnchor.GetAnchorNode() ) return; - m_nContentIndex = rAnchor.GetContentAnchor()->GetContentIndex(); + m_nContentIndex = rAnchor.GetAnchorContentOffset(); sal_Int16 eHoriRel = rPosFly.GetFormat().GetHoriOrient(). GetRelationOrient(); if( text::RelOrientation::FRAME == eHoriRel || text::RelOrientation::PRINT_AREA == eHoriRel ) |