summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/navigatr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-12 12:18:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-12 13:55:46 +0100
commit021b7b6684f13853d8bd1a7bcd7273967a2034d9 (patch)
tree0e575d85363c9734e508cdb2e523bac72474e939 /sd/source/ui/dlg/navigatr.cxx
parente2d333e5f2f99e594bfdafd6ffb6bdcc1c9451d5 (diff)
loplugin:reftotemp in sd
Change-Id: Ib38fdc34dc2112f1aac3914baa074c7574f34f7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176473 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/dlg/navigatr.cxx')
-rw-r--r--sd/source/ui/dlg/navigatr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index 4e8d1c7a290e..d4f189277fd7 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -367,13 +367,13 @@ IMPL_LINK_NOARG(SdNavigatorWin, ClickObjectHdl, weld::TreeView&, bool)
// Page entries in the tree have id value 1. Object entries have id value of
// the address of the pointer to the object.
- const auto& rCursorEntryId = mxTlbObjects->get_cursor_id();
- auto nCursorEntryId = rCursorEntryId.toInt64();
- SdrObject* pCursorEntryObject = weld::fromId<SdrObject*>(rCursorEntryId);
+ const auto aCursorEntryId = mxTlbObjects->get_cursor_id();
+ auto nCursorEntryId = aCursorEntryId.toInt64();
+ SdrObject* pCursorEntryObject = weld::fromId<SdrObject*>(aCursorEntryId);
bool bIsCursorEntrySelected(std::find(vSelectedEntryIds.begin(),
vSelectedEntryIds.end(),
- rCursorEntryId) != vSelectedEntryIds.end());
+ aCursorEntryId) != vSelectedEntryIds.end());
if (bIsCursorEntrySelected)
{