Advertisement
ektagoel12

code

Apr 18th, 2023
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. else if (&rBtn == m_xHyperLinkEndPB.get())
  2. {
  3. eTokenType = TOKEN_LINK_END;
  4. //Checking if there is Link Start component in the current entry structure
  5. bool hasLinkStart=false;
  6. for (auto const& token : tokens)
  7. {
  8. if(token.eTokenType==TOKEN_LINK_START)
  9. {
  10. hasLinkStart = true;
  11. sCharStyle= token.sCharStyleName;
  12. break;
  13. }
  14. else
  15. {
  16. sCharStyle = SwResId(STR_POOLCHR_TOXJUMP);
  17. }
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement