summaryrefslogtreecommitdiff
path: root/include/vcl/graph.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-04-02 22:12:28 +0200
committerAshod Nakashian <ashnakash@gmail.com>2019-08-25 13:42:06 +0200
commiteb581eff6ac41b938299b4c154ded6891bdd0c11 (patch)
tree8cc33a7850cc65d754667d7d1dfb3376b2428f1c /include/vcl/graph.hxx
parent81f73f1c1706d790c010e8fc0abcb2a0e9e86ace (diff)
pdfium: Use std::vector to hold the PdfData.
This fixes the destruction of the static cache of the PDF data; without this, there were already missing uno runtime info. (cherry picked from commit 20055ebe1b27f716a2acf1f0f4dda2864ae811bf) Change-Id: I877c9ccf96c4b7eabf3d643e17f324d86d987f94 Reviewed-on: https://gerrit.libreoffice.org/77691 Tested-by: Jenkins Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r--include/vcl/graph.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index f3f0c0aa1ab3..91371a82beeb 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -223,8 +223,8 @@ public:
const VectorGraphicDataPtr& getVectorGraphicData() const;
- void setPdfData(const std::shared_ptr<css::uno::Sequence<sal_Int8>>& rPdfData);
- const std::shared_ptr<css::uno::Sequence<sal_Int8>>& getPdfData() const;
+ void setPdfData(const std::shared_ptr<std::vector<sal_Int8>>& rPdfData);
+ const std::shared_ptr<std::vector<sal_Int8>>& getPdfData() const;
bool hasPdfData() const;
/// Set the page number of the multi-page source this Graphic is rendered from.