1 --- libreoffice-7.5.1.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx.~1~ 2023-02-09 06:58:55.000000000 -0500
2 +++ libreoffice-7.5.1.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 2023-02-20 20:56:49.750790207 -0500
4 bool collectBytes = false;
20 outBuf.push_back(static_cast<Output_t>(b1));
26 #if POPPLER_CHECK_VERSION(20, 12, 0)
27 - std::string familyName = gfxFont->getNameWithoutSubsetTag();
28 + std::string familyName( gfxFont->getNameWithoutSubsetTag() );
30 #if POPPLER_CHECK_VERSION(0, 71, 0) // GooString::toStr()
31 - std::string familyName = gfxFont->getName()->toStr();
32 + std::string familyName( gfxFont->getName()->toStr() );
34 const GooString* gooString = gfxFont->getName();
35 - std::string familyName = std::string(gooString->getCString(), gooString->getLength());
36 + std::string familyName( std::string(gooString->getCString(), gooString->getLength()) );
38 if (familyName.length() > 7 && familyName.at(6) == '+')