summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-06 00:51:10 -0400
committerJan Holesovsky <kendy@collabora.com>2018-06-07 10:45:35 +0200
commitb10bc896bdceeb3f24269c485272fde2e669922f (patch)
treebfebeb8da6a98b0bca0bb93445feec45111404a4 /include
parent17b95a2cb577731687e87126f22e6e64784e782c (diff)
vcl: svx: misc improvements to pdfium importing
Change-Id: I58f2fd973a731b148f40b37139cd74bac097a7d2
Diffstat (limited to 'include')
-rw-r--r--include/svx/xmlgrhlp.hxx1
-rw-r--r--include/vcl/graph.hxx2
-rw-r--r--include/vcl/pdfread.hxx1
3 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/xmlgrhlp.hxx b/include/svx/xmlgrhlp.hxx
index d6973104f72e..4d9fa58a1b49 100644
--- a/include/svx/xmlgrhlp.hxx
+++ b/include/svx/xmlgrhlp.hxx
@@ -25,6 +25,7 @@
#include <vcl/GraphicObject.hxx>
#include <vector>
#include <set>
+#include <unordered_map>
#include <utility>
#include <com/sun/star/document/XGraphicObjectResolver.hpp>
#include <com/sun/star/document/XGraphicStorageHandler.hpp>
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index cd2e48c273f7..24c3f4e796a2 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -231,7 +231,7 @@ public:
const VectorGraphicDataPtr& getVectorGraphicData() const;
void setPdfData(const std::shared_ptr<css::uno::Sequence<sal_Int8>>& rPdfData);
- std::shared_ptr<css::uno::Sequence<sal_Int8>> getPdfData() const;
+ const std::shared_ptr<css::uno::Sequence<sal_Int8>>& getPdfData() const;
bool hasPdfData() const;
/// Set the page number of the multi-page source this Graphic is rendered from.
diff --git a/include/vcl/pdfread.hxx b/include/vcl/pdfread.hxx
index 0e1b546daa36..0fc3249cd6a3 100644
--- a/include/vcl/pdfread.hxx
+++ b/include/vcl/pdfread.hxx
@@ -10,6 +10,7 @@
#ifndef INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
#define INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
+#include <vector>
#include <tools/stream.hxx>
namespace com