mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Bugfix: LLVM compiler warnings
This commit is contained in:
@ -373,9 +373,11 @@ public:
|
||||
class PDFRealizedType3FontImpl : public IRealizedFontImpl
|
||||
{
|
||||
public:
|
||||
explicit PDFRealizedType3FontImpl(PDFFontPointer parentFont, PDFReal pixelSize) : m_parentFont(parentFont), m_pixelSize(pixelSize) { }
|
||||
explicit PDFRealizedType3FontImpl(PDFFontPointer parentFont, PDFReal pixelSize) : m_pixelSize(pixelSize), m_parentFont(parentFont) { }
|
||||
virtual ~PDFRealizedType3FontImpl() override = default;
|
||||
|
||||
PDFReal getPixelSize() const { return m_pixelSize; }
|
||||
|
||||
virtual void fillTextSequence(const QByteArray& byteArray, TextSequence& textSequence, PDFRenderErrorReporter* reporter) override;
|
||||
virtual bool isHorizontalWritingSystem() const override;
|
||||
virtual CharacterInfos getCharacterInfos() const override;
|
||||
@ -1942,7 +1944,7 @@ PDFFontCMap PDFFontCMap::createFromData(const QByteArray& data)
|
||||
return std::pair<unsigned int, unsigned int>();
|
||||
};
|
||||
|
||||
auto fetchCID = [&parser] (const PDFLexicalAnalyzer::Token& currentToken) -> CID
|
||||
auto fetchCID = [] (const PDFLexicalAnalyzer::Token& currentToken) -> CID
|
||||
{
|
||||
if (currentToken.type == PDFLexicalAnalyzer::TokenType::Integer)
|
||||
{
|
||||
@ -1953,7 +1955,7 @@ PDFFontCMap PDFFontCMap::createFromData(const QByteArray& data)
|
||||
return 0;
|
||||
};
|
||||
|
||||
auto fetchUnicode = [&parser](const PDFLexicalAnalyzer::Token& currentToken) -> CID
|
||||
auto fetchUnicode = [](const PDFLexicalAnalyzer::Token& currentToken) -> CID
|
||||
{
|
||||
if (currentToken.type == PDFLexicalAnalyzer::TokenType::String)
|
||||
{
|
||||
|
Reference in New Issue
Block a user