summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ext/ucpext_content.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-10 23:51:21 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-10 23:54:07 +0200
commitfa51b556800f332b311786770b3d6e57b65f615c (patch)
tree4218dbf7025f8d88550d941c2394c8c442324187 /ucb/source/ucp/ext/ucpext_content.cxx
parent2241dd8d83fa8a89502ad7985427c5c79d94ce21 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
Diffstat (limited to 'ucb/source/ucp/ext/ucpext_content.cxx')
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index d5fa68e05e0d..dfb94886835d 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -435,12 +435,12 @@ namespace ucb { namespace ucp { namespace ext
// Append all Core Properties.
xRow->appendString ( Property( OUString("ContentType"),
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
PropertyAttribute::BOUND | PropertyAttribute::READONLY ),
ContentProvider::getArtificialNodeContentType() );
xRow->appendString ( Property( OUString("Title"),
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
PropertyAttribute::BOUND | PropertyAttribute::READONLY ),
i_rTitle );
xRow->appendBoolean( Property( OUString("IsDocument"),
@@ -594,7 +594,7 @@ namespace ucb { namespace ucp { namespace ext
Property(
OUString( "ContentType" ),
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
PropertyAttribute::BOUND | PropertyAttribute::READONLY
),
Property(
@@ -612,7 +612,7 @@ namespace ucb { namespace ucp { namespace ext
Property(
OUString( "Title" ),
-1,
- getCppuType( static_cast< const OUString * >( 0 ) ),
+ cppu::UnoType<OUString>::get(),
PropertyAttribute::BOUND | PropertyAttribute::READONLY
)
};