diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2011-11-21 11:48:16 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2011-11-21 14:27:48 +0100 |
commit | 2cc144286d81236e8677a551a458172ca9546c29 (patch) | |
tree | 41455d5d7a7863e84d290f26c6759abdc9081116 /sw | |
parent | sw: added explanations entry to grammar checking popup menu (diff) | |
download | core-2cc144286d81236e8677a551a458172ca9546c29.tar.gz core-2cc144286d81236e8677a551a458172ca9546c29.zip |
sw, Add hyperlinks by default in Table of Contents
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/tox/tox.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx index 57102e8f675e..62e95ec8d3aa 100644 --- a/sw/source/core/tox/tox.cxx +++ b/sw/source/core/tox/tox.cxx @@ -325,6 +325,7 @@ SwForm::SwForm( TOXTypes eTyp ) // #i21237# SwFormTokens aTokens; if (TOX_CONTENT == eType) { + aTokens.push_back(SwFormToken(TOKEN_LINK_START)); aTokens.push_back(SwFormToken(TOKEN_ENTRY_NO)); aTokens.push_back(SwFormToken(TOKEN_ENTRY_TEXT)); } @@ -344,6 +345,9 @@ SwForm::SwForm( TOXTypes eTyp ) // #i21237# aTokens.push_back(SwFormToken(TOKEN_PAGE_NUMS)); } + if (TOX_CONTENT == eType) + aTokens.push_back(SwFormToken(TOKEN_LINK_END)); + SetTemplate( 0, SW_RESSTR( nPoolId++ )); if(TOX_INDEX == eType) |