summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-04-02 23:03:01 +0200
committerJan Holesovsky <kendy@collabora.com>2019-04-03 17:54:02 +0200
commit9d5c868c04f53ac4d3c369e7596bdcfa512e289b (patch)
tree872244fc14178e6a8392899853c500033e027896 /include
parentba328bb8862810712393e2ce3329ce798db84541 (diff)
pdfium: Returning a const std::shared_ptr<...>& is not recommended.
Change-Id: Iff6acef712c5b95c8cc222fc5293c9304b1c03ec
Diffstat (limited to 'include')
-rw-r--r--include/vcl/graph.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 4f5108b3f2ce..cb7b04e2aa4a 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -230,7 +230,7 @@ public:
const VectorGraphicDataPtr& getVectorGraphicData() const;
void setPdfData(const std::shared_ptr<std::vector<sal_Int8>>& rPdfData);
- const std::shared_ptr<std::vector<sal_Int8>>& getPdfData() 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.