Kaydet (Commit) 0017c9b5 authored tarafından Michael Stahl's avatar Michael Stahl

tdf#124469 sw_redlinehide: fix PDF export of links to sequence fields

Missed one call where the return value must be forwarded.

(regression from 7d481f7a
 and 943d9be7)

Change-Id: Ic405b29a1dce982bfdd81eeb5d678ceb79690bfc
Reviewed-on: https://gerrit.libreoffice.org/70469
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst 7587e390
......@@ -472,7 +472,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
void GotoOutline( SwOutlineNodes::size_type nIdx );
bool GotoOutline( const OUString& rName );
bool GotoRegion( const OUString& rName );
void GotoRefMark( const OUString& rRefMark, sal_uInt16 nSubType = 0,
bool GotoRefMark( const OUString& rRefMark, sal_uInt16 nSubType = 0,
sal_uInt16 nSeqNo = 0 );
bool GotoNextTOXBase( const OUString* pName = nullptr);
bool GotoTable( const OUString& rName );
......
......@@ -1975,7 +1975,7 @@ bool SwView::JumpToSwMark( const OUString& rMark )
{
sal_uInt16 nSeqNo = sName.copy( nNoPos + 1 ).toInt32();
sName = sName.copy( 0, nNoPos );
m_pWrtShell->GotoRefMark( sName, REF_SEQUENCEFLD, nSeqNo );
bRet = m_pWrtShell->GotoRefMark(sName, REF_SEQUENCEFLD, nSeqNo);
}
}
else if( sCmp == "text" )
......
......@@ -629,13 +629,14 @@ bool SwWrtShell::GotoRegion( const OUString& rName )
return bRet;
}
void SwWrtShell::GotoRefMark( const OUString& rRefMark, sal_uInt16 nSubType,
bool SwWrtShell::GotoRefMark( const OUString& rRefMark, sal_uInt16 nSubType,
sal_uInt16 nSeqNo )
{
SwPosition aPos = *GetCursor()->GetPoint();
bool bRet = SwCursorShell::GotoRefMark(rRefMark, nSubType, nSeqNo);
if (bRet)
m_aNavigationMgr.addEntry(aPos);
return bRet;
}
bool SwWrtShell::GotoNextTOXBase( const OUString* pName )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment