summaryrefslogtreecommitdiff
path: root/include/vcl
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/vcl
parent17b95a2cb577731687e87126f22e6e64784e782c (diff)
vcl: svx: misc improvements to pdfium importing
Change-Id: I58f2fd973a731b148f40b37139cd74bac097a7d2
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/graph.hxx2
-rw-r--r--include/vcl/pdfread.hxx1
2 files changed, 2 insertions, 1 deletions
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