diff options
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/itemset.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx index d3fa0d17fc8d..bf1e4bde664b 100644 --- a/include/svl/itemset.hxx +++ b/include/svl/itemset.hxx @@ -170,6 +170,12 @@ public: return nullptr; } + template <class T> + static const T* GetItem(const SfxItemSet* pItemSet, TypedWhichId<T> nWhich, + bool bSearchInParent) + { + return GetItem<T>(pItemSet, static_cast<sal_uInt16>(nWhich), bSearchInParent); + } sal_uInt16 GetWhichByPos(sal_uInt16 nPos) const; |