diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-15 11:56:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-15 14:32:53 +0100 |
commit | bdb66b740681e9d3a94fbd0226ae1a4f1663e589 (patch) | |
tree | c5667f54da69bf0b03d7757d8cb24f1359169882 /include/svl/itempool.hxx | |
parent | 6125517102493341b8172acd463dd9126afa7a64 (diff) |
fix SfxItemPool::GetWhich change
In
commit 339fde9d905135e24b2f4e204009ee289d678b0c
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Tue Feb 15 08:56:13 2022 +0200
add typed GetWhich operations
I got the parameter type wrong
Change-Id: I7b1d86bc06da7feb3238f5033bbffbd166cd4fdd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129959
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl/itempool.hxx')
-rw-r--r-- | include/svl/itempool.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index ba07c6befc51..e85451ecb738 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -185,7 +185,7 @@ public: void SetItemInfos( const SfxItemInfo *pInfos ); sal_uInt16 GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const; template<class T> - TypedWhichId<T> GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const + TypedWhichId<T> GetWhich( TypedWhichId<T> nSlot, bool bDeep = true ) const { return TypedWhichId<T>(GetWhich(sal_uInt16(nSlot), bDeep)); } sal_uInt16 GetSlotId( sal_uInt16 nWhich ) const; sal_uInt16 GetTrueWhich( sal_uInt16 nSlot, bool bDeep = true ) const; |