From 4f11182566b02f9f1c1821985a94b4b4de363fbb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 4 Jan 2018 12:03:39 +0200 Subject: GetTrueSlotId is dead The only place is is used is ConvertAndPutItems. Which only loops over EE_PARA* which ids. But the only things which define slotid<->whichid mappings are XATTR*, SDATTR*, SCHATTR*. Which means that this code ConvertAndPutItems is dead, and that is the last place using GetTrueSlotId. Change-Id: I3037c25c2c15087572abacc9642970936824678d Reviewed-on: https://gerrit.libreoffice.org/47377 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svl/itempool.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'include/svl') diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index f4f5d86f3a08..5b1d8b9af27c 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -186,7 +186,6 @@ 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