summaryrefslogtreecommitdiffstats
path: root/xmlhelp/source/cxxhelp/provider/contentcaps.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/contentcaps.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/contentcaps.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/contentcaps.cxx b/xmlhelp/source/cxxhelp/provider/contentcaps.cxx
index d53bbba40e8d..38a8bbbf9c6c 100644
--- a/xmlhelp/source/cxxhelp/provider/contentcaps.cxx
+++ b/xmlhelp/source/cxxhelp/provider/contentcaps.cxx
@@ -50,7 +50,7 @@ uno::Sequence< beans::Property > Content::getProperties(
beans::Property(
"ContentType",
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
props[idx++] =
@@ -85,7 +85,7 @@ uno::Sequence< beans::Property > Content::getProperties(
beans::Property(
"Title",
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
if( withMediaType )
@@ -93,7 +93,7 @@ uno::Sequence< beans::Property > Content::getProperties(
beans::Property(
"MediaType",
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
if( isModule )
@@ -102,7 +102,7 @@ uno::Sequence< beans::Property > Content::getProperties(
beans::Property(
"Order",
-1,
- getCppuType( static_cast< sal_Int32* >( 0 ) ),
+ cppu::UnoType<sal_Int32>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
props[idx++] =
@@ -147,7 +147,7 @@ uno::Sequence< beans::Property > Content::getProperties(
beans::Property(
"AnchorName",
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
}