summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-07 09:30:04 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-08 09:33:59 +0100
commit4d01186dcef85b0515e51478bf7340268e0b147a (patch)
treeb971a36517c7423f1c5c2fd37f4871e550659446 /sc/source/ui/unoobj
parent6c91e703354c545e3885a162b47139ade4caae6c (diff)
cid#1546472 COPY_INSTEAD_OF_MOVE
and cid#1546459 COPY_INSTEAD_OF_MOVE cid#1546452 COPY_INSTEAD_OF_MOVE cid#1546403 COPY_INSTEAD_OF_MOVE cid#1546396 COPY_INSTEAD_OF_MOVE cid#1546394 COPY_INSTEAD_OF_MOVE cid#1546338 COPY_INSTEAD_OF_MOVE cid#1546324 COPY_INSTEAD_OF_MOVE Change-Id: If61457cfaf1d7ce4a069bcecdc0cc657aeb43c68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160445 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 9304d72471d9..2d066bcfc26b 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -552,8 +552,7 @@ void ScTabViewObj::SheetChanged( bool bSameTabButMoved )
{
sheet::ActivationEvent aEvent;
uno::Reference< sheet::XSpreadsheetView > xView(this);
- uno::Reference< uno::XInterface > xSource(xView, uno::UNO_QUERY);
- aEvent.Source = xSource;
+ aEvent.Source.set(xView, uno::UNO_QUERY);
aEvent.ActiveSheet = new ScTableSheetObj(pDocSh, rViewData.GetTabNo());
// Listener's handler may remove it from the listeners list
for (size_t i = aActivationListeners.size(); i > 0; --i)