summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-12 08:51:42 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-12 20:04:35 +0200
commit6f0f0bbaebfc0added603a04918324df58b6c27b (patch)
tree19f6ab1fcbb2442bebefdbbd013c6b7398a744ca /sfx2/source/sidebar
parentb6fb455deeef8f5199a53dda4ee6fdad9667d482 (diff)
cid#1555513 silence Use of auto that causes a copy
Change-Id: I9c079460215ca2c62126a04caec2b1246dff0f46 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170411 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r--sfx2/source/sidebar/TabBar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 184f42877667..c9a68edcf840 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -265,7 +265,7 @@ IMPL_LINK_NOARG(TabBar::Item, HandleClick, const OUString&, void)
{
// tdf#143146 copy the functor and arg before calling
// GrabFocusToDocument which may destroy this object
- auto aDeckActivationFunctor = maDeckActivationFunctor;
+ DeckActivationFunctor aDeckActivationFunctor = maDeckActivationFunctor;
auto sDeckId = msDeckId;
mrTabBar.GrabFocusToDocument();