https://bugs.freedesktop.org/show_bug.cgi?id=79178
--- Comment #9 from Julien Nabet <[email protected]> --- I tried this patch: diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx index f9ce7d4..5df2fde 100644 --- a/framework/source/accelerators/presethandler.cxx +++ b/framework/source/accelerators/presethandler.cxx @@ -599,7 +599,12 @@ css::uno::Reference< css::io::XStream > PresetHandler::openTarget(const OUString // e.g. module without any config data ?! if (!xFolder.is()) - return css::uno::Reference< css::io::XStream >(); + { + if (bCreateIfMissing) + m_xWorkingStorageUser = xFolder = getOrCreateRootStorageUser(); + else + return css::uno::Reference< css::io::XStream >(); + } OUString sFile(sTarget); sFile += ".xml"; The form doesn't crash. However, even if I modify the form, the accelerator part isn't created. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
