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... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/433563 Title: [Upstream] Base Report "E-Mail as PDF" gives error instead of opening Evolution To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/433563/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs