diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-07-16 15:49:44 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-07-17 13:20:17 +0200 |
commit | 2c10d784deb86501b5488044a61d9fc2efc6321a (patch) | |
tree | 5bebbced3704de8931161bef3141c80261a315a5 /sw/source/ui/index | |
parent | 41aa886a7b516c842cc4d74dbbe475c980a28ca4 (diff) |
fdo#39904, n#825976: implement hyperlinks for Illustrations index
(cherry picked from commit 8bb2c7f1556c10508c8ac451c579539ccf5dacfb)
Conflicts:
sw/inc/swtypes.hxx
Change-Id: I6f682c382e7ab0e06259b335247fdcebd7412942
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 20fa51c7833b..d98b2d8ec603 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -2091,6 +2091,7 @@ void SwTOXEntryTabPage::ActivatePage( const SfxItemSet& /*rSet*/) sal_Bool bToxIsAuthorities = TOX_AUTHORITIES == aCurType.eType; sal_Bool bToxIsIndex = TOX_INDEX == aCurType.eType; sal_Bool bToxIsContent = TOX_CONTENT == aCurType.eType; + sal_Bool bToxIsSequence = TOX_ILLUSTRATIONS == aCurType.eType; aLevelLB.Clear(); for(sal_uInt16 i = 1; i < m_pCurrentForm->GetFormMax(); i++) @@ -2223,7 +2224,7 @@ void SwTOXEntryTabPage::ActivatePage( const SfxItemSet& /*rSet*/) //show or hide controls aEntryNoPB.Show( bToxIsContent ); - aHyperLinkPB.Show( bToxIsContent ); + aHyperLinkPB.Show( bToxIsContent || bToxIsSequence ); aRelToStyleCB.Show( !bToxIsAuthorities ); aChapterInfoPB.Show( !bToxIsContent && !bToxIsAuthorities); aEntryPB.Show( !bToxIsAuthorities ); |