From d0eb98a4b3acf510e2e6aa6bb39e866d0977fc40 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Jan 2024 19:19:58 +0000 Subject: cid#1588086 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and cid#1588075 COPY_INSTEAD_OF_MOVE cid#1588074 COPY_INSTEAD_OF_MOVE Change-Id: Ia621e7aafd5e0b009b8c97deeace8708897dad4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162667 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- svx/source/dialog/grfflt.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx') diff --git a/svx/source/dialog/grfflt.cxx b/svx/source/dialog/grfflt.cxx index 562e0d52c990..9c7f1a9c92ba 100644 --- a/svx/source/dialog/grfflt.cxx +++ b/svx/source/dialog/grfflt.cxx @@ -35,11 +35,11 @@ static void handleGraphicFilterDialog(const VclPtr& pDlg, const Graphic& aInputGraphic, - std::function f); + const std::function& f); void SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest const & rReq, const GraphicObject& rInputObject, - std::function f) + const std::function& f) { Graphic aInputGraphic = rInputObject.GetGraphic(); @@ -260,7 +260,7 @@ void SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest const & rReq, static void handleGraphicFilterDialog(const VclPtr& pDlg, const Graphic& aInputGraphic, - std::function f) + const std::function& f) { pDlg->StartExecuteAsync( [pDlg, aInputGraphic, f] (sal_Int32 nResult)->void -- cgit