From cebbd5795d6256fb346ac8d70c15daceca48c554 Mon Sep 17 00:00:00 2001 From: "Armin Le Grand (allotropia)" Date: Sun, 18 Feb 2024 19:17:48 +0100 Subject: 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 --- svx/source/styles/CommonStylePreviewRenderer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/styles') diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx index c6c0bd1c7059..b517b4437811 100644 --- a/svx/source/styles/CommonStylePreviewRenderer.cxx +++ b/svx/source/styles/CommonStylePreviewRenderer.cxx @@ -62,7 +62,7 @@ CommonStylePreviewRenderer::~CommonStylePreviewRenderer() static bool GetWhich(const SfxItemSet& rSet, sal_uInt16 nSlot, sal_uInt16& rWhich) { - rWhich = rSet.GetPool()->GetWhich(nSlot); + rWhich = rSet.GetPool()->GetWhichIDFromSlotID(nSlot); return rSet.GetItemState(rWhich) >= SfxItemState::DEFAULT; } -- cgit