summaryrefslogtreecommitdiff
path: root/editeng/source/xml
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-10 00:14:44 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-10 06:19:42 +0200
commit5ec7a589bed7991ffe8ad9a2f544a6699d159765 (patch)
treef9020375a29477fe7e4d22970a4040c36abadbdf /editeng/source/xml
parent83a88b942134314e86ac612d0ef70a8e4919e4af (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
Diffstat (limited to 'editeng/source/xml')
-rw-r--r--editeng/source/xml/xmltxtexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx
index 6e5b01b58460..65bb17a8533e 100644
--- a/editeng/source/xml/xmltxtexp.cxx
+++ b/editeng/source/xml/xmltxtexp.cxx
@@ -385,7 +385,7 @@ SvxXMLTextExportComponent::SvxXMLTextExportComponent(
// SVX_UNOEDIT_OUTLINER_PROPERTIES,
{OUString(UNO_NAME_NUMBERING_RULES), EE_PARA_NUMBULLET, ::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace>*)0), 0, 0 },
{OUString(UNO_NAME_NUMBERING), EE_PARA_BULLETSTATE,::getBooleanCppuType(), 0, 0 },
- {OUString(UNO_NAME_NUMBERING_LEVEL), EE_PARA_OUTLLEVEL, ::getCppuType((const sal_Int16*)0), 0, 0 },
+ {OUString(UNO_NAME_NUMBERING_LEVEL), EE_PARA_OUTLLEVEL, ::cppu::UnoType<sal_Int16>::get(), 0, 0 },
SVX_UNOEDIT_PARA_PROPERTIES,
{ OUString(), 0, css::uno::Type(), 0, 0 }
};