add SwFormatAnchor::GetAnchorNode method

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 24 November 2022 10:58 UTC

as a step towards switching away from using SwPosition inside SwFormatAnchor (because SwFormatAnchor wants to do weird stuff with the internals of SwPosition)

Change-Id: I1527b6585d1e130b46e1e51b1e40eea043339d8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143205

dd90710a0acd add SwFormatAnchor::GetAnchorNode method
sw/inc/fmtanchr.hxx | 2 ++
sw/qa/extras/layout/layout.cxx | 30 ++++++++++++-------------
sw/qa/extras/layout/layout2.cxx | 6 ++---
sw/qa/extras/tiledrendering/tiledrendering.cxx | 4 ++--
sw/qa/extras/uiwriter/uiwriter8.cxx | 10 ++++-----
sw/qa/uibase/wrtsh/wrtsh.cxx | 4 ++--
sw/source/core/attr/swatrset.cxx | 2 +-
sw/source/core/crsr/findtxt.cxx | 14 ++++++------
sw/source/core/doc/DocumentLayoutManager.cxx | 8 +++----
sw/source/core/doc/dbgoutsw.cxx | 4 ++--
sw/source/core/doc/docfly.cxx | 26 ++++++++++-----------
sw/source/core/doc/docglbl.cxx | 10 ++++-----
sw/source/core/doc/docnew.cxx | 2 +-
sw/source/core/doc/docsort.cxx | 6 ++---
sw/source/core/doc/tblcpy.cxx | 6 ++---
sw/source/core/doc/textboxhelper.cxx | 22 ++++++++----------
sw/source/core/docnode/ndtbl.cxx | 8 +++----
sw/source/core/docnode/node.cxx | 18 +++++++--------
sw/source/core/docnode/swbaslnk.cxx | 10 ++++-----
sw/source/core/draw/dcontact.cxx | 8 +++----
sw/source/core/frmedt/fecopy.cxx | 14 ++++++------
sw/source/core/frmedt/fefly1.cxx | 6 ++---
sw/source/core/frmedt/feshview.cxx | 2 +-
sw/source/core/frmedt/tblsel.cxx | 6 ++---
sw/source/core/layout/anchoredobject.cxx | 2 +-
sw/source/core/layout/atrfrm.cxx | 9 ++++++++
sw/source/core/layout/flowfrm.cxx | 2 +-
sw/source/core/layout/flycnt.cxx | 2 +-
sw/source/core/layout/flylay.cxx | 2 +-
sw/source/core/layout/pagechg.cxx | 4 ++--
sw/source/core/ole/ndole.cxx | 4 ++--
sw/source/core/text/EnhancedPDFExportHelper.cxx | 6 ++---
sw/source/core/text/itratr.cxx | 6 ++---
sw/source/core/text/txtfly.cxx | 2 +-
sw/source/core/txtnode/atrflyin.cxx | 4 +---
sw/source/core/txtnode/ndtxt.cxx | 2 +-
sw/source/core/txtnode/thints.cxx | 2 +-
sw/source/core/undo/unattr.cxx | 4 ++--
sw/source/core/undo/undel.cxx | 9 ++++----
sw/source/core/undo/undobj1.cxx | 10 ++++-----
sw/source/core/undo/undraw.cxx | 2 +-
sw/source/core/undo/untbl.cxx | 8 +++----
sw/source/core/undo/untblk.cxx | 14 ++++++------
sw/source/filter/basflt/shellio.cxx | 2 +-
sw/source/filter/html/css1atr.cxx | 15 ++++++-------
sw/source/filter/html/htmlflywriter.cxx | 6 ++---
sw/source/filter/html/htmlform.cxx | 4 ++--
sw/source/filter/html/htmlforw.cxx | 6 ++---
sw/source/filter/html/htmlgrin.cxx | 6 ++---
sw/source/filter/html/htmltab.cxx | 12 +++++-----
sw/source/filter/ww8/writerhelper.cxx | 2 +-
sw/source/filter/ww8/wrtw8esh.cxx | 6 ++---
sw/source/filter/ww8/wrtw8nds.cxx | 12 +++++-----
sw/source/filter/ww8/ww8glsy.cxx | 6 ++---
sw/source/filter/ww8/ww8par2.cxx | 6 ++---
sw/source/filter/xml/XMLRedlineImportHelper.cxx | 4 ++--
sw/source/uibase/wrtsh/delete.cxx | 2 +-
57 files changed, 206 insertions(+), 205 deletions(-)

Upstream: cgit.freedesktop.org


  • Share