diff options
Diffstat (limited to 'svl/source/items/sitem.cxx')
-rw-r--r-- | svl/source/items/sitem.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/svl/source/items/sitem.cxx b/svl/source/items/sitem.cxx index 037097f7bc3a..0e4499b55ab4 100644 --- a/svl/source/items/sitem.cxx +++ b/svl/source/items/sitem.cxx @@ -24,8 +24,9 @@ #include <svl/setitem.hxx> #include <svl/poolitem.hxx> -SfxSetItem::SfxSetItem( sal_uInt16 which, const SfxItemSet &rSet) : - SfxPoolItem(which), +SfxSetItem::SfxSetItem( sal_uInt16 which, const SfxItemSet &rSet, + SfxItemType eItemType) : + SfxPoolItem(which, eItemType), maSet(rSet) { assert(!dynamic_cast<const SfxAllItemSet*>(&rSet) && "cannot handle SfxAllItemSet here"); @@ -33,8 +34,9 @@ SfxSetItem::SfxSetItem( sal_uInt16 which, const SfxItemSet &rSet) : } -SfxSetItem::SfxSetItem( sal_uInt16 which, SfxItemSet &&pS) : - SfxPoolItem(which), +SfxSetItem::SfxSetItem( sal_uInt16 which, SfxItemSet &&pS, + SfxItemType eItemType) : + SfxPoolItem(which, eItemType), maSet(pS) { assert(!dynamic_cast<SfxAllItemSet*>(&pS) && "cannot handle SfxAllItemSet here"); |