[Libreoffice-bugs] [Bug 118042] LibreOffice crashes after clicking "Target in document" button in the Hyperlink dialog
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 6 20:27:13 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118042
--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
This patch fixes the assert and I don't have a crash:
diff --git a/sw/source/core/unocore/unomap.cxx
b/sw/source/core/unocore/unomap.cxx
index 8445e08f935d..3dffbe6859fc 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -683,7 +683,7 @@ const SfxItemPropertyMapEntry*
SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry const aLinkTargetMap_Impl[] =
{
- { OUString(UNO_LINK_DISPLAY_BITMAP), 0,
cppu::UnoType<css::awt::XBitmap>::get(), PropertyAttribute::READONLY, 0xff},
+ { OUString(UNO_LINK_DISPLAY_BITMAP), 0,
cppu::UnoType<css::awt::XBitmap>::get(), PropertyAttribute::READONLY, 0xbf},
{ OUString(UNO_LINK_DISPLAY_NAME), 0,
cppu::UnoType<OUString>::get(), PropertyAttribute::READONLY, 0xbf},
{ OUString(), 0, css::uno::Type(), 0, 0 }
};
Now, since I don't know the meaning of 0xbf/0xff, I hesitate to submit this on
gerrit.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180606/be6bca70/attachment.html>
More information about the Libreoffice-bugs
mailing list