diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/inc/tvread.hxx | 2 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/contentcaps.cxx | 26 |
2 files changed, 14 insertions, 14 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/tvread.hxx b/xmlhelp/source/cxxhelp/inc/tvread.hxx index e11812f03790..09090e2d615f 100644 --- a/xmlhelp/source/cxxhelp/inc/tvread.hxx +++ b/xmlhelp/source/cxxhelp/inc/tvread.hxx @@ -79,7 +79,7 @@ namespace treeview { getElementType( ) throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { - return getCppuVoidType(); + return cppu::UnoType<cppu::UnoVoidType>::get(); } virtual sal_Bool SAL_CALL hasElements() diff --git a/xmlhelp/source/cxxhelp/provider/contentcaps.cxx b/xmlhelp/source/cxxhelp/provider/contentcaps.cxx index 4ae745525212..3314b83af618 100644 --- a/xmlhelp/source/cxxhelp/provider/contentcaps.cxx +++ b/xmlhelp/source/cxxhelp/provider/contentcaps.cxx @@ -56,28 +56,28 @@ uno::Sequence< beans::Property > Content::getProperties( beans::Property( "IsReadOnly", -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = beans::Property( "IsErrorDocument", -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = beans::Property( "IsDocument", -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = beans::Property( "IsFolder", -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = @@ -108,35 +108,35 @@ uno::Sequence< beans::Property > Content::getProperties( beans::Property( "KeywordList", -1, - getCppuType( static_cast< const uno::Sequence< OUString >* >( 0 ) ), + cppu::UnoType<uno::Sequence< OUString >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = beans::Property( "KeywordRef", -1, - getCppuType( static_cast< const uno::Sequence< uno::Sequence< OUString > >* >( 0 ) ), + cppu::UnoType<uno::Sequence< uno::Sequence< OUString > >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = beans::Property( "KeywordTitleForRef", -1, - getCppuType( static_cast< const uno::Sequence< uno::Sequence< OUString > >* >( 0 ) ), + cppu::UnoType<uno::Sequence< uno::Sequence< OUString > >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = beans::Property( "KeywordAnchorForRef", -1, - getCppuType( static_cast< const uno::Sequence< uno::Sequence< OUString > >* >( 0 ) ), + cppu::UnoType<uno::Sequence< uno::Sequence< OUString > >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); props[idx++] = beans::Property( "SearchScopes", -1, - getCppuType( static_cast< const uno::Sequence< OUString >* >( 0 ) ), + cppu::UnoType<uno::Sequence< OUString >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ); } @@ -167,22 +167,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( "getCommandInfo", -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( "getPropertySetInfo", -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( "getPropertyValues", -1, - getCppuType( static_cast< uno::Sequence< beans::Property > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::Property >>::get() ), ucb::CommandInfo( "setPropertyValues", -1, - getCppuType( static_cast< uno::Sequence< beans::PropertyValue > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ), ucb::CommandInfo( "open", |