summaryrefslogtreecommitdiff
path: root/include/vcl/graph.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r--include/vcl/graph.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 3eb7c79e7c1e..847e20e202ab 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -230,8 +230,10 @@ public:
const VectorGraphicDataPtr& getVectorGraphicData() const;
- void setPdfData(const css::uno::Sequence<sal_Int8>& rPdfData);
- const css::uno::Sequence<sal_Int8>& getPdfData() const;
+ void setPdfData(const std::shared_ptr<css::uno::Sequence<sal_Int8>>& rPdfData);
+ void setPdfData(const css::uno::Sequence<sal_Int8>& rPdfData) { setPdfData(std::make_shared<css::uno::Sequence<sal_Int8>>(rPdfData)); }
+ std::shared_ptr<css::uno::Sequence<sal_Int8>> getPdfData() const;
+ bool hasPdfData() const;
static css::uno::Sequence<sal_Int8> getUnoTunnelId();
};