wrtsh.hxx needed SwDoc only for the inline constructor of MakeAllOutlineContentTemporarilyVisible - drop that into wrtsh1.cxx near the guard's lock counter, and we get a free fwd definition through editsh.hxx. clang -ftime-trace data suggests ~2% of the sw compile time Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Change-Id: Ie2f4baa82f83fea1ecdc4e189b93879a1ce8b3f3 Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12942 Reviewed-by: Noel Grandin <noel.grandin@collabora.com> Tested-by: Jenkins CPCI <releng@collaboraoffice.com> (cherry picked from commit 90fd1010608bc49befeb5efe21540d006fe1f67a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211355 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>