sw: make postithelper.hxx self-contained

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 24 June 2020 11:37 UTC

The problem was that the inline SwSidebarItem ctor/dtor needed a complete type for sw::annotation::SwAnnotationWin, but AnnotationWin.hxx already includes this header, so we can't include it.

Move the ctor/dtor to postithelper.cxx where we include AnnotationWin.hxx already.

Change-Id: I619bd5d21493a80436a333c128eadfff2a6834b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97011

e619d685a4ac sw: make postithelper.hxx self-contained
sw/inc/postithelper.hxx | 14 ++------------
sw/source/core/fields/postithelper.cxx | 12 ++++++++++++
2 files changed, 14 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share