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 --- svx/source/svdraw/svdograf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index a51758add1f0..8c3c8adf7ccc 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -907,7 +907,7 @@ bool SdrGrafObj::isEmbeddedPdfData() const return mpGraphicObject->GetGraphic().hasPdfData(); } -std::shared_ptr> const SdrGrafObj::getEmbeddedPdfData() const +const std::shared_ptr> & SdrGrafObj::getEmbeddedPdfData() const { return mpGraphicObject->GetGraphic().getPdfData(); } -- cgit