https://bugs.freedesktop.org/show_bug.cgi?id=43277
--- Comment #15 from Lionel Elie Mamane <lio...@mamane.lu> 2012-07-30 17:24:39 UTC --- Traced the calls; the difference is in SfxMailModel::SaveDocumentAsFormat in file sfx2/source/dialog/mailmodel.cxx Interesting things happen around line 419: In the working case (Report Builder report), aQuery looks like: uno::Sequence of length 3 = {{ Name = "Type", Value = uno::Any "pdf_Portable_Document_Format" }, { Name = "DocumentService", Value = uno::Any "com.sun.star.text.TextDocument" }, { Name = "Flags", Value = uno::Any 524354 }} and then xEnumeration->hasMoreElements() is true and aFilterName is set. In the not working case (legacy report), aQuery looks like: uno::Sequence of length 3 = {{ Name = "Type", Value = uno::Any "pdf_Portable_Document_Format" }, { Name = "DocumentService", Value = uno::Any "com.sun.star.sdb.TextReportDesign" }, { Name = "Flags", Value = uno::Any 524354 }} and xEnumeration->hasMoreElements() is false, and aFilterName is not set. Thus on line 485, the procedure aborts because "aFilterName.getLength() == 0". Now we need to find someone that understands this filter lookup stuff... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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