Since we already have isTextBox to identify a text box, this just adds a call to SwFrameFormat::GetOtherTextBoxFormat() to actually return the corresponding SwFrameFormat.
This gets rid off all the remaining occurences of the SwFrameFormat / Textbox sets and maps.
f7f5d27 Add convenience function getOtherTextBoxFormat
sw/inc/textboxhelper.hxx | 10 ++++
sw/source/core/doc/DocumentLayoutManager.cxx | 2 +-
sw/source/core/doc/textboxhelper.cxx | 64 +++++++++++++-------------
sw/source/core/draw/dview.cxx | 2 +-
sw/source/core/frmedt/feshview.cxx | 8 ++--
sw/source/core/layout/fly.cxx | 5 +-
sw/source/core/text/porfly.cxx | 2 +-
sw/source/filter/ww8/docxattributeoutput.cxx | 4 +-
sw/source/filter/ww8/rtfsdrexport.cxx | 5 +-
sw/source/filter/ww8/rtfsdrexport.hxx | 3 --
sw/source/uibase/docvw/edtwin.cxx | 11 ++---
11 files changed, 58 insertions(+), 58 deletions(-)
Upstream: cgit.freedesktop.org