diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-03-28 15:45:44 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-01 07:29:47 +0000 |
commit | 225eb501768c2f4a12683c116281246a52eb568c (patch) | |
tree | d81ff06750400f2fdc1bfb37af71f86314faaba2 /src/core/printing | |
parent | 21c196d1d90c42902555fd1604f273776972a3fa (diff) |
Switch export macros to standard form
Qt expects the export macros to have Q_ prefixes, otherwise the symbol
versioning script won't find them and mark them.
Task-number: QTBUG-74752
Change-Id: I1e057802f6715d170bdd9074f281e73fb96c9e52
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/core/printing')
-rw-r--r-- | src/core/printing/pdfium_document_wrapper_qt.cpp | 2 | ||||
-rw-r--r-- | src/core/printing/pdfium_document_wrapper_qt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/printing/pdfium_document_wrapper_qt.cpp b/src/core/printing/pdfium_document_wrapper_qt.cpp index 6dbdf64ef..1be27f1c6 100644 --- a/src/core/printing/pdfium_document_wrapper_qt.cpp +++ b/src/core/printing/pdfium_document_wrapper_qt.cpp @@ -48,7 +48,7 @@ namespace QtWebEngineCore { int PdfiumDocumentWrapperQt::m_libraryUsers = 0; -class QWEBENGINECORE_PRIVATE_EXPORT PdfiumPageWrapperQt { +class PdfiumPageWrapperQt { public: PdfiumPageWrapperQt(FPDF_DOCUMENT data, int pageIndex, int targetWidth, int targetHeight) : m_pageData(FPDF_LoadPage(data, pageIndex)) diff --git a/src/core/printing/pdfium_document_wrapper_qt.h b/src/core/printing/pdfium_document_wrapper_qt.h index f4ac557a0..2dab268fc 100644 --- a/src/core/printing/pdfium_document_wrapper_qt.h +++ b/src/core/printing/pdfium_document_wrapper_qt.h @@ -58,7 +58,7 @@ namespace QtWebEngineCore { class PdfiumPageWrapperQt; -class QWEBENGINECORE_PRIVATE_EXPORT PdfiumDocumentWrapperQt +class Q_WEBENGINECORE_PRIVATE_EXPORT PdfiumDocumentWrapperQt { public: PdfiumDocumentWrapperQt(const void *pdfData, size_t size, const QSize &imageSize, |