From ec920ed0ecc9cb42b900138a299bf070dc86103c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Jan 2018 11:10:36 +0200 Subject: Revert "GetTrueSlotId is dead" This reverts commit 4f11182566b02f9f1c1821985a94b4b4de363fbb. Turns out I was wrong, there are tons of place defining slotid<->whichid mappings. Change-Id: I2a124ecba02c45f14ee917727adb993c39994881 Reviewed-on: https://gerrit.libreoffice.org/47454 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svl/itempool.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include/svl') diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index 5b1d8b9af27c..f4f5d86f3a08 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -186,6 +186,7 @@ public: sal_uInt16 GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const; sal_uInt16 GetSlotId( sal_uInt16 nWhich ) const; sal_uInt16 GetTrueWhich( sal_uInt16 nSlot, bool bDeep = true ) const; + sal_uInt16 GetTrueSlotId( sal_uInt16 nWhich ) const; static bool IsWhich(sal_uInt16 nId) { return nId && nId <= SFX_WHICH_MAX; } -- cgit