diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-01 11:52:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-01 18:07:00 +0100 |
commit | 97d3389f32a24f06113aad37058d24f2cbbc3026 (patch) | |
tree | 6b85adb0132daac5848ad621922e28758849afca /sfx2 | |
parent | 004807caaa5f5e4516ba5cc9fac085fe8cd30dee (diff) |
cid#1557920 COPY_INSTEAD_OF_MOVE
a sample commit to test this
Change-Id: Ibc1a1f75b908e245395a05e81c26158c67e36257
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160214
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index ce3b6c5dd694..fd7a21931c4f 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -1243,8 +1243,7 @@ LOKDocumentFocusListener::getSelectedObject(const accessibility::AccessibleEvent uno::Reference< accessibility::XAccessible > xSelectedObject; if (isText(m_nDocumentType)) { - uno::Reference< accessibility::XAccessible > xSource(aEvent.Source, uno::UNO_QUERY); - xSelectedObject = xSource; + xSelectedObject = uno::Reference<accessibility::XAccessible>(aEvent.Source, uno::UNO_QUERY); } else { |