From c54df306b347a3ffe50fd5efac4a50b6e621d735 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Aug 2019 09:25:12 +0200 Subject: loplugin:returnconstval in new pdf code Change-Id: I11fdc9a0dcf745dacd516cfc8540a8fb67c45b6c Reviewed-on: https://gerrit.libreoffice.org/78106 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/graph.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/vcl') 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>& rPdfData); - std::shared_ptr> getPdfData() const; + const std::shared_ptr> & getPdfData() const; bool hasPdfData() const; /// Set the page number of the multi-page source this Graphic is rendered from. -- cgit