Kaydet (Commit) 4c75e57a authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

Writer: Hyperlinks on ToX have 'Index Link' style by default

üst 0fd40fe1
......@@ -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));
}
......
......@@ -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)
{
......
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