From 5e55d482b19812e2fc3063eb7e718d7013635b33 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 12 Jul 2024 08:53:09 +0100 Subject: cid#1555962 Use of auto that causes a copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and cid#1556100 Use of auto that causes a copy cid#1556199 Use of auto that causes a copy cid#1556239 Use of auto that causes a copy cid#1556313 Use of auto that causes a copy cid#1556373 Use of auto that causes a copy cid#1556680 Use of auto that causes a copy cid#1557020 Use of auto that causes a copy cid#1557099 Use of auto that causes a copy cid#1557251 Use of auto that causes a copy cid#1557334 Use of auto that causes a copy cid#1557468 Use of auto that causes a copy Change-Id: Ib5ab5b33eabcac3d18899ceaaa9119e13b0139f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170412 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sfx2/source/appl/appserv.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index c9c37f554a96..1505e3944d55 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -342,9 +342,8 @@ weld::Window* SfxRequest::GetFrameWeld() const const SfxUnoAnyItem* pItem = nullptr; if (pIntArgs && (pItem = pIntArgs->GetItemIfSet(SID_DIALOG_PARENT, false))) { - auto aAny = pItem->GetValue(); Reference xWindow; - aAny >>= xWindow; + pItem->GetValue() >>= xWindow; return Application::GetFrameWeld(xWindow); } -- cgit