summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-12 08:53:09 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-12 20:04:43 +0200
commit5e55d482b19812e2fc3063eb7e718d7013635b33 (patch)
tree3d665136a377c767722df565f8a8bc5e510e6c65 /sfx2
parent6f0f0bbaebfc0added603a04918324df58b6c27b (diff)
cid#1555962 Use of auto that causes a copy
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appserv.cxx3
1 files changed, 1 insertions, 2 deletions
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<awt::XWindow> xWindow;
- aAny >>= xWindow;
+ pItem->GetValue() >>= xWindow;
return Application::GetFrameWeld(xWindow);
}