[Libreoffice-bugs] [Bug 131353] New: Core build fails with poppler >= 0.86.0

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 15 13:58:10 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131353

            Bug ID: 131353
           Summary: Core build fails with poppler >= 0.86.0
           Product: LibreOffice
           Version: 6.4.1.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: foss at martin-whitaker.me.uk

Description:
The libpoppler API has changed. LinkURI::getURI() now returns a std::string
value.

Steps to Reproduce:
Build libreoffice core against poppler >= 0.86.0

Actual Results:
/home/iurt/rpmbuild/BUILD/libreoffice-6.4.1.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:
In member function 'virtual void pdfi::PDFOutDev::processLink(AnnotLink*)':
/home/iurt/rpmbuild/BUILD/libreoffice-6.4.1.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:567:64:
error: base operand of '->' has non-pointer type 'const string' {aka 'const
std::__cxx11::basic_string<char>'}
  567 |     const char* pURI =
static_cast<LinkURI*>(pAction)->getURI()->c_str();
      |                                                                ^~

Expected Results:
No compile error.


Reproducible: Always


User Profile Reset: No



Additional Info:
N/A

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200315/c0c18e49/attachment.htm>


More information about the Libreoffice-bugs mailing list