diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-26 09:25:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-26 10:45:39 +0200 |
commit | c54df306b347a3ffe50fd5efac4a50b6e621d735 (patch) | |
tree | 29456e0e91540cd64f94e79985162732b7c95618 /include/vcl | |
parent | 28bf81694aaeacd260a3b7d8ba2f6be172eb08c3 (diff) |
loplugin:returnconstval in new pdf code
Change-Id: I11fdc9a0dcf745dacd516cfc8540a8fb67c45b6c
Reviewed-on: https://gerrit.libreoffice.org/78106
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/graph.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx index 3559f9935a81..a09e5efa2086 100644 --- a/include/vcl/graph.hxx +++ b/include/vcl/graph.hxx @@ -225,7 +225,7 @@ public: const VectorGraphicDataPtr& getVectorGraphicData() const; void setPdfData(const std::shared_ptr<std::vector<sal_Int8>>& rPdfData); - std::shared_ptr<std::vector<sal_Int8>> getPdfData() const; + 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. |