diff options
author | Armin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de> | 2024-02-18 19:17:48 +0100 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@me.com> | 2024-02-18 21:37:52 +0100 |
commit | cebbd5795d6256fb346ac8d70c15daceca48c554 (patch) | |
tree | 40e5c20c2728c67a64f1156b1ca6099e4d16a081 /sw/source/uibase/uiview/viewdraw.cxx | |
parent | d367142731f09c7be03ce1707e3aeab3c55b4f21 (diff) |
ITEM: Rename for more control over SlotID usages
Change-Id: I51585f1c15984a066262023184f668662853d20f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163556
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'sw/source/uibase/uiview/viewdraw.cxx')
-rw-r--r-- | sw/source/uibase/uiview/viewdraw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx index 956d05f1dfd0..e28ec7b1ebdf 100644 --- a/sw/source/uibase/uiview/viewdraw.cxx +++ b/sw/source/uibase/uiview/viewdraw.cxx @@ -79,7 +79,7 @@ void SwView::ExecDraw(const SfxRequest& rReq) bool bDeselect = false; sal_uInt16 nSlotId = rReq.GetSlot(); - if(pArgs && SfxItemState::SET == pArgs->GetItemState(GetPool().GetWhich(nSlotId), false, &pItem)) + if(pArgs && SfxItemState::SET == pArgs->GetItemState(GetPool().GetWhichIDFromSlotID(nSlotId), false, &pItem)) pStringItem = dynamic_cast< const SfxStringItem*>(pItem); SdrObjKind eNewFormObjKind = SdrObjKind::NONE; |