diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-12-11 18:43:35 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-12-18 22:30:15 +0100 |
commit | 0fabc28c5cf209730f9c89fd684127335a12afbc (patch) | |
tree | 1cb7da8162fc7f54863064921e9d252e359ac304 /sw/source/uibase/inc | |
parent | 6018a9270aab389711d082edb55f081b3a793248 (diff) |
sw_redlinehide_4b: visibility checks for bookmarks too
SwCursorShell::GotoMark(), GoNextBookmark(), GoPrevBookmark() check
visibility of mark in layout.
SwWrtShell::GotoMark() returns whether it was successful.
EnhancedPDFExport skips marks that are not visible when creating links.
Change-Id: I36c0706c18a5f861b15eaf451a97daec04104056
(cherry picked from commit 943d9be770e550d20ca72274fa5e914d1f61e605)
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/wrtsh.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index 8e5717e5e045..1acefbd6814b 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -404,7 +404,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); // jump to bookmark and set the "selections-flags" correctly again void GotoMark( const ::sw::mark::IMark* const pMark ); - void GotoMark( const ::sw::mark::IMark* const pMark, bool bSelect ); + bool GotoMark( const ::sw::mark::IMark* const pMark, bool bSelect ); void GotoMark( const OUString& rName ); bool GoNextBookmark(); // true when there still was one bool GoPrevBookmark(); |