summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio
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/gio
parentf785d167b99f0f39c1d3b9424c327eaf0383d0d2 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I8d1a4fda1cdd679f20de37271f7b832da4fb0c9a
Diffstat (limited to 'ucb/source/ucp/gio')
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index 59217807b5bb..c2ead85c4d49 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -1256,16 +1256,16 @@ uno::Sequence< beans::Property > Content::getProperties(
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 ),
beans::Property( OUString( "DateCreated" ),
-1, cppu::UnoType<util::DateTime>::get(),
@@ -1277,19 +1277,19 @@ uno::Sequence< beans::Property > Content::getProperties(
-1, cppu::UnoType<sal_Int64>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
beans::Property( OUString( "IsVolume" ),
- -1, getCppuBooleanType(),
+ 1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
beans::Property( OUString( "IsCompactDisc" ),
- -1, getCppuBooleanType(),
+ -1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
beans::Property( OUString( "IsRemoveable" ),
- -1, getCppuBooleanType(),
+ -1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
beans::Property( OUString( "IsHidden" ),
- -1, getCppuBooleanType(),
+ -1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
beans::Property( OUString( "CreatableContentsInfo" ),
- -1, getCppuType( static_cast< const uno::Sequence< ucb::ContentInfo > * >( 0 ) ),
+ -1, cppu::UnoType<uno::Sequence< ucb::ContentInfo >>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY )
};
@@ -1304,21 +1304,21 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( const uno::Reference< uc
// 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
( OUString( "delete" ),
- -1, getCppuBooleanType() ),
+ -1, cppu::UnoType<bool>::get() ),
ucb::CommandInfo
( OUString( "insert" ),
-1, cppu::UnoType<ucb::InsertCommandArgument>::get() ),