diff options
Diffstat (limited to 'svx/source/styles/CommonStylePreviewRenderer.cxx')
-rw-r--r-- | svx/source/styles/CommonStylePreviewRenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |