diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-27 09:16:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-27 09:23:27 +0200 |
commit | e06e2cb18874987d2dafd4faa0a8b71fc0aa6453 (patch) | |
tree | dfcc7d9b6f3e255582ca274cca0734e724073767 /bin | |
parent | 16f3ef520cafaef42694f5e63a60167e3c41081c (diff) |
tdf#90575 sw: fix pasting DDE links
Regression from commit 0761f81643a6890457e9ef7d913ab5c88c2593a4 (123792:
complete annotations on text ranges feature, 2013-12-19), the problem
was that the added additional IDocumentMarkAccess::GetType() check in
lcl_FindDdeBookmark(), which means that the function no longer finds
bookmarks with the matching name, only real DDE marks. This is a
problem, as SwTrnsfrDdeLink::WriteData() depends on the fact that
sw::mark::Bookmark inherits from sw::mark::DdeBookmark. As a result, the
fast IDocumentMarkAccess::GetType() (that intentionally doesn't handle
inheritance for performance reasons) can't be used here.
Change-Id: I2b7a07c18b641ac991f3227812a609dedc960e08
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions