summaryrefslogtreecommitdiff
path: root/sd/source/filter/xml
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-17 23:32:29 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-17 23:33:02 +0200
commit745a094a37e029afcf34ad1cf82b14f80062163f (patch)
treeeafa587b5924760ef993bdfa04c81416f1da27ec /sd/source/filter/xml
parentb1e4d856d2d3dfc497c5a2f1fb3f6f8ef7e36d87 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15
Change-Id: I38e855966598342eb2352e70e04f7a5e09e54f83
Diffstat (limited to 'sd/source/filter/xml')
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 3a9255818d94..1befad1fd752 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -445,7 +445,7 @@ bool SdXMLFilter::Import( ErrCode& nError )
{ OUString("ProgressMax"), 0, ::cppu::UnoType<sal_Int32>::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
{ OUString("ProgressCurrent"), 0, ::cppu::UnoType<sal_Int32>::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
{ OUString("Preview"), 0, ::cppu::UnoType<sal_Bool>::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { OUString("PageLayouts"), 0, ::getCppuType((const uno::Reference< container::XNameAccess >*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { OUString("PageLayouts"), 0, cppu::UnoType<container::XNameAccess>::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
{ OUString("PrivateData"), 0,
::getCppuType( (Reference<XInterface> *)0 ),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },