summaryrefslogtreecommitdiff
path: root/svx/source/items/ofaitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/items/ofaitem.cxx')
-rw-r--r--svx/source/items/ofaitem.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/items/ofaitem.cxx b/svx/source/items/ofaitem.cxx
index 1d5ef696b740..c65a86a643a7 100644
--- a/svx/source/items/ofaitem.cxx
+++ b/svx/source/items/ofaitem.cxx
@@ -23,7 +23,8 @@
#include <utility>
OfaPtrItem::OfaPtrItem( sal_uInt16 _nWhich, void *_pPtr )
- : SfxPoolItem( _nWhich ), pPtr( _pPtr )
+ : SfxPoolItem( _nWhich, SfxItemType::OfaPtrItemType )
+ , pPtr( _pPtr )
{
}
@@ -40,7 +41,8 @@ OfaPtrItem* OfaPtrItem::Clone( SfxItemPool * ) const
}
OfaXColorListItem::OfaXColorListItem( sal_uInt16 _nWhich, rtl::Reference<XColorList> xRef )
- : SfxPoolItem( _nWhich ), mxRef(std::move( xRef ))
+ : SfxPoolItem( _nWhich, SfxItemType::OfaXColorListItemType )
+ , mxRef(std::move( xRef ))
{}
bool OfaXColorListItem::operator==( const SfxPoolItem& rItem ) const