summaryrefslogtreecommitdiff
path: root/svl/source/items/globalnameitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/globalnameitem.cxx')
-rw-r--r--svl/source/items/globalnameitem.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svl/source/items/globalnameitem.cxx b/svl/source/items/globalnameitem.cxx
index 3f8d3265d779..6cd1ece098ee 100644
--- a/svl/source/items/globalnameitem.cxx
+++ b/svl/source/items/globalnameitem.cxx
@@ -30,13 +30,14 @@
SfxPoolItem* SfxGlobalNameItem::CreateDefault() { return new SfxGlobalNameItem; }
-SfxGlobalNameItem::SfxGlobalNameItem()
+SfxGlobalNameItem::SfxGlobalNameItem() :
+ SfxPoolItem(0, SfxItemType::SfxGlobalNameItemType)
{
}
SfxGlobalNameItem::SfxGlobalNameItem( sal_uInt16 nW, const SvGlobalName& rName )
-: SfxPoolItem( nW ),
+: SfxPoolItem( nW, SfxItemType::SfxGlobalNameItemType ),
m_aName( rName )
{
}