summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-05-15 12:20:42 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-07-29 20:45:11 +0200
commitf37819fbf3a2713ef699062e5cd8c482891aa57d (patch)
tree3fd62698cf433f823df135372dbd1101d629d3db /include
parent98e9c22ad50acea9567a02162ec067c4a8c2e9ff (diff)
vcl: Add internal "Implementation" class for VectorGraphicSearch
We need to hide includes (needed for members) of PDFium inside from the outside, so not everyone using the VectorGraphicSearch needs to depend on PDFium too. Change-Id: I95e46c714758b130594d78a4618af7350e29a075 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95255 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 115655a09868d5977f740995d88e36d958f30bb5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95832 Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 2514c23a4bde8adf0872494c9009bae6b8dba816)
Diffstat (limited to 'include')
-rw-r--r--include/vcl/VectorGraphicSearch.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/VectorGraphicSearch.hxx b/include/vcl/VectorGraphicSearch.hxx
index 3411d0a931e6..6c2589db1d01 100644
--- a/include/vcl/VectorGraphicSearch.hxx
+++ b/include/vcl/VectorGraphicSearch.hxx
@@ -14,8 +14,6 @@
#include <vcl/vectorgraphicdata.hxx>
#include <vcl/dllapi.h>
-#include <fpdf_doc.h>
-
#include <memory>
class SearchContext;
@@ -23,9 +21,11 @@ class SearchContext;
class VCL_DLLPUBLIC VectorGraphicSearch final
{
private:
+ class Implementation;
+ std::unique_ptr<Implementation> mpImplementation;
Graphic maGraphic;
- FPDF_DOCUMENT mpPdfDocument;
std::unique_ptr<SearchContext> mpSearchContext;
+
bool searchPDF(std::shared_ptr<VectorGraphicData> const& rData, OUString const& rSearchString);
public: