bug 74702

Adrien Ollier adr.ollier at hotmail.fr
Mon Apr 22 08:58:39 UTC 2019

Hello everybody,

still related to bug #74702<https://bugs.documentfoundation.org/show_bug.cgi?id=74702>, I have two problems:

  1.  there is function XParaPortionList::RefDevIsVirtual() that uses attribute XParaPortionList::eRefDevIsVirtual which is of type OutDevType which must be removed.
XParaPortionList::eRefDevIsVirtual is never set (https://opengrok.libreoffice.org/xref/core/editeng/source/editeng/editobj2.hxx?r=f2373813), so may I delete XParaPortionList::eRefDevIsVirtual, XParaPortionList::RefDevIsVirtual() and the call to XParaPortionList::RefDevIsVirtual() in editeng/source/editeng/impedit4.cxx line 1174?
  2.  In editeng/source/editeng/impedit2.cxx it is required to cast an OutputDevice* to a vcl::PDFWriterImpl* to know the real type of pOut (and test if the resulting pointer is nullptr or not). This requires to include vcl/source/gdi/pdfwriter_impl.hxx but this file is not in the common directory for inclusion. How can I include vcl/source/gdi/pdfwriter_impl.hxx?

Thank you by advance.
Best regards,
Adrien Ollier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190422/e7a076d1/attachment.html>

More information about the LibreOffice mailing list