https://issues.apache.org/ooo/show_bug.cgi?id=119411
hanya <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #77589|0 |1 is obsolete| | --- Comment #6 from hanya <[email protected]> --- Created attachment 77867 --> https://issues.apache.org/ooo/attachment.cgi?id=77867&action=edit Patch with checking bStylesOnly and error for import (In reply to comment #5) > The patch works fine, it needs only to consider two points: > a) when only the styles are requested, RDF can be ignored Added. > b) when loading/storing the metadata from/to the storage, the exceptions > should be taken into account for the function final return value I introduced SCWARN_IMPORT_FEATURES_LOST and its string resource for import. But ScXMLImportWrapper::Export(sal_Bool bStylesOnly) method does not have the way to return back error/warning code. I need to change the method to it. When I return sal_True from the method, I makes error to faled to store the file contents, not warning. The attached patch do not have making warning for Export method. I need more time to introduce the way of warning for the Export method. -- You are receiving this mail because: You are the assignee for the bug.
