summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/cmis/cmis_repo_content.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:42:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:42:49 +0200
commit018e85387e1ed62ab8188ad4cb0728ee2a0a797c (patch)
treede497dd3ec2371ebf5e6cdd9732f203938718022 /ucb/source/ucp/cmis/cmis_repo_content.cxx
parentf785d167b99f0f39c1d3b9424c327eaf0383d0d2 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I8d1a4fda1cdd679f20de37271f7b832da4fb0c9a
Diffstat (limited to 'ucb/source/ucp/cmis/cmis_repo_content.cxx')
-rw-r--r--ucb/source/ucp/cmis/cmis_repo_content.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx
index f140a15725ff..bccca5a5cfac 100644
--- a/ucb/source/ucp/cmis/cmis_repo_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx
@@ -243,16 +243,16 @@ namespace cmis
static const beans::Property aGenericProperties[] =
{
beans::Property( OUString( "IsDocument" ),
- -1, getCppuBooleanType(),
+ -1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
beans::Property( OUString( "IsFolder" ),
- -1, getCppuBooleanType(),
+ -1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
beans::Property( OUString( "Title" ),
-1, cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND ),
beans::Property( OUString( "IsReadOnly" ),
- -1, getCppuBooleanType(),
+ -1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
};
@@ -268,16 +268,16 @@ namespace cmis
// Required commands
ucb::CommandInfo
( OUString( "getCommandInfo" ),
- -1, getCppuVoidType() ),
+ -1, cppu::UnoType<cppu::UnoVoidType>::get() ),
ucb::CommandInfo
( OUString( "getPropertySetInfo" ),
- -1, getCppuVoidType() ),
+ -1, cppu::UnoType<cppu::UnoVoidType>::get() ),
ucb::CommandInfo
( OUString( "getPropertyValues" ),
- -1, getCppuType( static_cast<uno::Sequence< beans::Property > * >( 0 ) ) ),
+ -1, cppu::UnoType<uno::Sequence< beans::Property >>::get() ),
ucb::CommandInfo
( OUString( "setPropertyValues" ),
- -1, getCppuType( static_cast<uno::Sequence< beans::PropertyValue > * >( 0 ) ) ),
+ -1, cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ),
// Optional standard commands
ucb::CommandInfo