To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85272
User mba changed the following:
What |Old value |New value
================================================================================
CC|'' |'cl'
--------------------------------------------------------------------------------
Assigned to|mba |sus
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Wed Jun 25 08:10:34 +0000
2008 -------
The crash happens because the Impress document does not support the XStyleLoader
interface.
Christian, is this a bug or intended behavior? Without a support for this
Impress xslt filters can't use templates.
Here's the code in xmlfilteradaptor:
Reference< XNameAccess >xName;
if(xstylefamiliessupplier.is())
xName=xstylefamiliessupplier->getStyleFamilies();
Reference< XStyleLoader > xstyleLoader
(xstylefamiliessupplier->getStyleFamilies(), UNO_QUERY);
if(xstyleLoader.is())
xName=xstylefamiliessupplier->getStyleFamilies();
xStyleLoader is NULL.
Svante, whatever Christian's answer will be: the filter code shouldn't crash in
that case. While xStyleLoader is checked for being NULL in the code above it is
used uncoditional below that:
Sequence < OUString > elementNames = xName->getElementNames();
Sequence<com::sun::star::beans::PropertyValue>
pValue=xstyleLoader->getStyleLoaderOptions();
and in
xstyleLoader->loadStylesFromURL(msTemplateName,pValue);
So this needs to be fixed in the filter anyway.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]