summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/wrtxml.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:44 +0200
commit574bc065a7a8732a8be23ed8fbde284e0d611a7a (patch)
treeff8e6c96795d64ef4fd62c2f6f20569746ba2053 /sw/source/filter/xml/wrtxml.cxx
parent008904a75bae7a42af8fce5f2bced4d029af3094 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I091e11ab1e7fbacf04a0eac51262d22d3835ab17
Diffstat (limited to 'sw/source/filter/xml/wrtxml.cxx')
-rw-r--r--sw/source/filter/xml/wrtxml.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx
index 61eaa7f775ee..fb0a57f9447c 100644
--- a/sw/source/filter/xml/wrtxml.cxx
+++ b/sw/source/filter/xml/wrtxml.cxx
@@ -118,16 +118,16 @@ sal_uInt32 SwXMLWriter::_Write( const uno::Reference < task::XStatusIndicator >&
::cppu::UnoType<sal_Int32>::get(),
beans::PropertyAttribute::MAYBEVOID, 0},
{ OUString("WrittenNumberStyles"), 0,
- ::getCppuType((uno::Sequence<sal_Int32> *)0),
+ cppu::UnoType<uno::Sequence<sal_Int32>>::get(),
beans::PropertyAttribute::MAYBEVOID, 0},
{ OUString("UsePrettyPrinting"), 0,
- ::getBooleanCppuType(),
+ cppu::UnoType<bool>::get(),
beans::PropertyAttribute::MAYBEVOID, 0},
{ OUString("ShowChanges"), 0,
- ::getBooleanCppuType(),
+ cppu::UnoType<bool>::get(),
beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString("RedlineProtectionKey"), 0,
- ::getCppuType((Sequence<sal_Int8>*)0),
+ cppu::UnoType<Sequence<sal_Int8>>::get(),
beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString("BaseURI"), 0,
::cppu::UnoType<OUString>::get(),
@@ -139,17 +139,17 @@ sal_uInt32 SwXMLWriter::_Write( const uno::Reference < task::XStatusIndicator >&
::cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString("AutoTextMode"), 0,
- ::getBooleanCppuType(),
+ cppu::UnoType<bool>::get(),
beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString("StyleNames"), 0,
- ::getCppuType( (Sequence<OUString>*)0 ),
+ cppu::UnoType<Sequence<OUString>>::get(),
beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString("StyleFamilies"), 0,
- ::getCppuType( (Sequence<sal_Int32>*)0 ),
+ cppu::UnoType<Sequence<sal_Int32>>::get(),
beans::PropertyAttribute::MAYBEVOID, 0 },
// #i69627#
{ OUString("OutlineStyleAsNormalListStyle"), 0,
- ::getBooleanCppuType(),
+ cppu::UnoType<bool>::get(),
beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString("TargetStorage"),0, cppu::UnoType<embed::XStorage>::get(),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },