summaryrefslogtreecommitdiffstats
path: root/extensions/source/bibliography/general.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/bibliography/general.cxx')
-rw-r--r--extensions/source/bibliography/general.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx
index bd27749e7dcb..2babb133beb3 100644
--- a/extensions/source/bibliography/general.cxx
+++ b/extensions/source/bibliography/general.cxx
@@ -490,7 +490,7 @@ uno::Reference< awt::XControlModel > BibGeneralPage::AddXControl(
aAny <<= (sal_Int16)1;
xPropSet->setPropertyValue("BoundColumn", aAny);
ListSourceType eSet = ListSourceType_VALUELIST;
- aAny.setValue( &eSet, ::getCppuType((const ListSourceType*)0) );
+ aAny.setValue( &eSet, ::cppu::UnoType<ListSourceType>::get() );
xPropSet->setPropertyValue("ListSourceType", aAny);
uno::Sequence<OUString> aListSource(TYPE_COUNT);