From c2d87f9f1b078271367d9afc9403a13087e79f5c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 12 Dec 2018 15:58:17 +0100 Subject: sw_redlinehide_4b: SwCursorShell::GotoRefMark() check visibility too As seen in ooo50225-1.sxw. Change-Id: I9f0bc0838cbf216b9a73e3ce6bc06b4340064077 --- sw/inc/reffld.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/inc') diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx index 39a2a5c28e11..634642c4a47c 100644 --- a/sw/inc/reffld.hxx +++ b/sw/inc/reffld.hxx @@ -76,7 +76,8 @@ public: static SwTextNode* FindAnchor( SwDoc* pDoc, const OUString& rRefMark, sal_uInt16 nSubType, sal_uInt16 nSeqNo, - sal_Int32* pStt, sal_Int32* pEnd = nullptr ); + sal_Int32* pStt, sal_Int32* pEnd = nullptr, + SwRootFrame const* pLayout = nullptr); }; class SW_DLLPUBLIC SwGetRefField : public SwField -- cgit