Hallo *,
für den Bug 43277 [1] wurde die wahrscheinliche Stelle im Quellcode
identifiziert, die den Bug verursacht.
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".
Kennt sich jemand damit aus und kann diesen "filter lookup" korrigieren?
Wenn ja: bitte Vorschlag in [1] posten.
[1] https://bugs.freedesktop.org/show_bug.cgi?id=43277
Gruß
Jochen
--
Informationen zum Abmelden: E-Mail an discuss+h...@de.libreoffice.org
Probleme?
http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/discuss/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert