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 <quikee@gmail.com>2020-06-01 10:44:05 +0200
commit115655a09868d5977f740995d88e36d958f30bb5 (patch)
tree866f93b24fdfdb0d181c9c7256d621f8a25c4db3 /include
parentefba780d6155317b592b6f5f73945a7851ec4d3b (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>
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: