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+help@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
Context
- [de-discuss] [QA] Bugreport 43277 -> Lösung für fehlerhaften Quellcode gesucht · Jochen
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.