summaryrefslogtreecommitdiff
path: root/sd/source/filter/xml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-12 11:09:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-12 11:10:10 +0100
commit83e191e25da8a508a2dafad339c0ee58e97c5c8b (patch)
tree41ffadeda7fcf325b0d0bdd5764fe4bd7282319e /sd/source/filter/xml
parent7bf2f528ef22f50aa167ba57f2e25d4452977060 (diff)
Do not use C++-UNO internal static_type functions in client code
...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
Diffstat (limited to 'sd/source/filter/xml')
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index fe9429f8f3a6..6578d4dc04f8 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -465,7 +465,7 @@ sal_Bool SdXMLFilter::Import( ErrCode& nError )
{ OUString("OrganizerMode"), 0,
::getBooleanCppuType(),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
- { OUString("SourceStorage"), 0, embed::XStorage::static_type(),
+ { OUString("SourceStorage"), 0, cppu::UnoType<embed::XStorage>::get(),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString(), 0, css::uno::Type(), 0, 0 }
};
@@ -841,7 +841,7 @@ sal_Bool SdXMLFilter::Export()
{ OUString("StyleFamilies"), 0,
::getCppuType( (Sequence<sal_Int32>*)0 ),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
- { OUString("TargetStorage"), 0, embed::XStorage::static_type(),
+ { OUString("TargetStorage"), 0, cppu::UnoType<embed::XStorage>::get(),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
{ OUString(), 0, css::uno::Type(), 0, 0 }
};