https://bugs.freedesktop.org/show_bug.cgi?id=79178

--- Comment #5 from Julien Nabet <serval2...@yahoo.fr> ---
Here's what I got after a gdb debug session

The pb is in XMLBasedAcceleratorConfiguration::reload
see
http://opengrok.libreoffice.org/xref/core/framework/source/accelerators/acceleratorconfiguration.cxx#223

More precisely line 243-245 of this part:
    239     css::uno::Reference< css::io::XInputStream > xIn;
    240     if (xStream.is())
    241         xIn = xStream->getInputStream();
    242     if (!xIn.is())
    243         throw css::io::IOException(
    244         OUString("Could not open accelerator configuration for
reading."),
    245         static_cast< ::cppu::OWeakObject* >(this));

the static_cast doesn't seem to work here.

Also, if we unwind from here.
LO goes into this part with Client because:
xStream.is() is false because of this part:
    231         xStream =
m_aPresetHandler.openTarget(PresetHandler::TARGET_CURRENT(), true); // sal_True
=> open or create!

This part calls 
   591 css::uno::Reference< css::io::XStream > PresetHandler::openTarget(const
OUString& sTarget         ,
    592                                                                        
bool         bCreateIfMissing)

see
http://opengrok.libreoffice.org/xref/core/framework/source/accelerators/presethandler.cxx#590
but this method returns empty stream because m_xWorkingStorageUser is empty
too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to