sw/source/core/tox/tox.cxx | 4 +++- sw/source/ui/index/cnttab.cxx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 4c75e57a42251b86683253a832c534d8909a9f23 Author: Cédric Bosdonnat <cedric.bosdonnat....@free.fr> Date: Fri Dec 23 11:27:26 2011 +0100 Writer: Hyperlinks on ToX have 'Index Link' style by default diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx index 002dabf..cc949ed 100644 --- a/sw/source/core/tox/tox.cxx +++ b/sw/source/core/tox/tox.cxx @@ -323,7 +323,9 @@ SwForm::SwForm( TOXTypes eTyp ) // #i21237# SwFormTokens aTokens; if (TOX_CONTENT == eType) { - aTokens.push_back(SwFormToken(TOKEN_LINK_START)); + SwFormToken aLinkStt (TOKEN_LINK_START); + aLinkStt.sCharStyleName = String(SW_RES(STR_POOLCHR_TOXJUMP)); + aTokens.push_back(aLinkStt); aTokens.push_back(SwFormToken(TOKEN_ENTRY_NO)); aTokens.push_back(SwFormToken(TOKEN_ENTRY_TEXT)); } diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 3e07f62..c042eda 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -2441,7 +2441,7 @@ IMPL_LINK(SwTOXEntryTabPage, InsertTokenHdl, PushButton*, pBtn) { sText.AssignAscii(SwForm::aFormLinkStt); eTokenType = TOKEN_LINK_START; - sCharStyle = String(SW_RES(STR_POOLCHR_INET_NORMAL)); + sCharStyle = String(SW_RES(STR_POOLCHR_TOXJUMP)); } else if(pBtn == &aTabPB) {
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits