Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I08f4e8270061b90b77a976d4ead7462a02fce845
This commit is contained in:
@@ -79,7 +79,7 @@ namespace treeview {
|
|||||||
getElementType( )
|
getElementType( )
|
||||||
throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
|
throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
|
||||||
{
|
{
|
||||||
return getCppuVoidType();
|
return cppu::UnoType<cppu::UnoVoidType>::get();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual sal_Bool SAL_CALL hasElements()
|
virtual sal_Bool SAL_CALL hasElements()
|
||||||
|
@@ -56,28 +56,28 @@ uno::Sequence< beans::Property > Content::getProperties(
|
|||||||
beans::Property(
|
beans::Property(
|
||||||
"IsReadOnly",
|
"IsReadOnly",
|
||||||
-1,
|
-1,
|
||||||
getCppuBooleanType(),
|
cppu::UnoType<bool>::get(),
|
||||||
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
beans::Property(
|
beans::Property(
|
||||||
"IsErrorDocument",
|
"IsErrorDocument",
|
||||||
-1,
|
-1,
|
||||||
getCppuBooleanType(),
|
cppu::UnoType<bool>::get(),
|
||||||
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
beans::Property(
|
beans::Property(
|
||||||
"IsDocument",
|
"IsDocument",
|
||||||
-1,
|
-1,
|
||||||
getCppuBooleanType(),
|
cppu::UnoType<bool>::get(),
|
||||||
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
beans::Property(
|
beans::Property(
|
||||||
"IsFolder",
|
"IsFolder",
|
||||||
-1,
|
-1,
|
||||||
getCppuBooleanType(),
|
cppu::UnoType<bool>::get(),
|
||||||
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
@@ -108,35 +108,35 @@ uno::Sequence< beans::Property > Content::getProperties(
|
|||||||
beans::Property(
|
beans::Property(
|
||||||
"KeywordList",
|
"KeywordList",
|
||||||
-1,
|
-1,
|
||||||
getCppuType( static_cast< const uno::Sequence< OUString >* >( 0 ) ),
|
cppu::UnoType<uno::Sequence< OUString >>::get(),
|
||||||
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
beans::Property(
|
beans::Property(
|
||||||
"KeywordRef",
|
"KeywordRef",
|
||||||
-1,
|
-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 );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
beans::Property(
|
beans::Property(
|
||||||
"KeywordTitleForRef",
|
"KeywordTitleForRef",
|
||||||
-1,
|
-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 );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
beans::Property(
|
beans::Property(
|
||||||
"KeywordAnchorForRef",
|
"KeywordAnchorForRef",
|
||||||
-1,
|
-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 );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
|
|
||||||
props[idx++] =
|
props[idx++] =
|
||||||
beans::Property(
|
beans::Property(
|
||||||
"SearchScopes",
|
"SearchScopes",
|
||||||
-1,
|
-1,
|
||||||
getCppuType( static_cast< const uno::Sequence< OUString >* >( 0 ) ),
|
cppu::UnoType<uno::Sequence< OUString >>::get(),
|
||||||
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -167,22 +167,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands(
|
|||||||
ucb::CommandInfo(
|
ucb::CommandInfo(
|
||||||
"getCommandInfo",
|
"getCommandInfo",
|
||||||
-1,
|
-1,
|
||||||
getCppuVoidType()
|
cppu::UnoType<cppu::UnoVoidType>::get()
|
||||||
),
|
),
|
||||||
ucb::CommandInfo(
|
ucb::CommandInfo(
|
||||||
"getPropertySetInfo",
|
"getPropertySetInfo",
|
||||||
-1,
|
-1,
|
||||||
getCppuVoidType()
|
cppu::UnoType<cppu::UnoVoidType>::get()
|
||||||
),
|
),
|
||||||
ucb::CommandInfo(
|
ucb::CommandInfo(
|
||||||
"getPropertyValues",
|
"getPropertyValues",
|
||||||
-1,
|
-1,
|
||||||
getCppuType( static_cast< uno::Sequence< beans::Property > * >( 0 ) )
|
cppu::UnoType<uno::Sequence< beans::Property >>::get()
|
||||||
),
|
),
|
||||||
ucb::CommandInfo(
|
ucb::CommandInfo(
|
||||||
"setPropertyValues",
|
"setPropertyValues",
|
||||||
-1,
|
-1,
|
||||||
getCppuType( static_cast< uno::Sequence< beans::PropertyValue > * >( 0 ) )
|
cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get()
|
||||||
),
|
),
|
||||||
ucb::CommandInfo(
|
ucb::CommandInfo(
|
||||||
"open",
|
"open",
|
||||||
|
Reference in New Issue
Block a user