diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-13 21:13:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-14 15:16:40 +0200 |
commit | 309dc58aee022ea804d04f33c80dddefcdafb987 (patch) | |
tree | c1931cf60ef8e44034f7eb6d1118915bf9272107 /sc | |
parent | 990490781cdea757a25a14da30e575a6a9dfb6a7 (diff) |
cid#1555652 COPY_INSTEAD_OF_MOVE
and
cid#1555655 COPY_INSTEAD_OF_MOVE
cid#1555658 COPY_INSTEAD_OF_MOVE
cid#1555665 COPY_INSTEAD_OF_MOVE
cid#1555667 COPY_INSTEAD_OF_MOVE
cid#1555670 COPY_INSTEAD_OF_MOVE
cid#1555675 COPY_INSTEAD_OF_MOVE
cid#1555684 COPY_INSTEAD_OF_MOVE
cid#1555687 COPY_INSTEAD_OF_MOVE
cid#1556539 COPY_INSTEAD_OF_MOVE
cid#1556542 COPY_INSTEAD_OF_MOVE
cid#1557448 COPY_INSTEAD_OF_MOVE
cid#1557449 COPY_INSTEAD_OF_MOVE
Change-Id: I3567528e559bca0031c4f5b46801e3130073633b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170448
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbaeventshelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx index f9544e1f3c20..19e91f5711a0 100644 --- a/sc/source/ui/vba/vbaeventshelper.cxx +++ b/sc/source/ui/vba/vbaeventshelper.cxx @@ -291,7 +291,7 @@ void SAL_CALL ScVbaEventListener::windowActivated( const lang::EventObject& rEve processWindowActivateEvent( mpActiveWindow, false ); // fire activation event for the new window processWindowActivateEvent( pWindow, true ); - mpActiveWindow = pWindow; + mpActiveWindow = std::move(pWindow); } } |