diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-20 23:29:28 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-20 23:29:53 +0200 |
commit | 227af32d8c6d5e3649c83fcdb274298bc7faa294 (patch) | |
tree | 8490a6c94094d1fbf5a190a911070c3142d3cca7 /sfx2/source/doc/plugin.cxx | |
parent | 0f836296ea3cdc10326ad54983b634168285b8e2 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
Diffstat (limited to 'sfx2/source/doc/plugin.cxx')
-rw-r--r-- | sfx2/source/doc/plugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/plugin.cxx b/sfx2/source/doc/plugin.cxx index a1743fdd16d5..51ce5b185bea 100644 --- a/sfx2/source/doc/plugin.cxx +++ b/sfx2/source/doc/plugin.cxx @@ -73,8 +73,8 @@ const SfxItemPropertyMapEntry* lcl_GetPluginPropertyMap_Impl() static const SfxItemPropertyMapEntry aPluginPropertyMap_Impl[] = { { OUString("PluginCommands"), WID_COMMANDS, ::getCppuType((::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >*)0), PROPERTY_UNBOUND, 0}, - { OUString("PluginMimeType"), WID_MIMETYPE, ::getCppuType((const OUString*)0), PROPERTY_UNBOUND, 0 }, - { OUString("PluginURL"), WID_URL , ::getCppuType((const OUString*)0), PROPERTY_UNBOUND, 0 }, + { OUString("PluginMimeType"), WID_MIMETYPE, cppu::UnoType<OUString>::get(), PROPERTY_UNBOUND, 0 }, + { OUString("PluginURL"), WID_URL , cppu::UnoType<OUString>::get(), PROPERTY_UNBOUND, 0 }, { OUString(), 0, css::uno::Type(), 0, 0 } }; return aPluginPropertyMap_Impl; |