summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_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/tdoc/tdoc_content.cxx
parentf785d167b99f0f39c1d3b9424c327eaf0383d0d2 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I8d1a4fda1cdd679f20de37271f7b832da4fb0c9a
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_content.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 44b261047dd0..d158135e0dc9 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -1057,14 +1057,14 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
xRow->appendBoolean(
beans::Property( OUString("IsDocument"),
-1,
- getCppuBooleanType(),
+ cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::READONLY ),
rData.getIsDocument() );
xRow->appendBoolean(
beans::Property( OUString("IsFolder"),
-1,
- getCppuBooleanType(),
+ cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::READONLY ),
rData.getIsFolder() );
@@ -1072,7 +1072,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
beans::Property(
OUString("CreatableContentsInfo"),
-1,
- getCppuType( static_cast< const uno::Sequence< ucb::ContentInfo > * >( 0 ) ),
+ cppu::UnoType<uno::Sequence< ucb::ContentInfo >>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::READONLY ),
uno::makeAny( rData.getCreatableContentsInfo() ) );