diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-24 21:31:32 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-24 21:31:32 +0100 |
commit | 8da928423add3fdb94baee2a3f3fa053390f828e (patch) | |
tree | c88a9cf749de00b0271b06697881a1e44139c761 /ucb/source/ucp/gvfs | |
parent | d31bf8bf5524af62b48e59179ef7c2afc5096682 (diff) |
Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)
Change-Id: Iae4ea99e6eff6de8db3d40a6b86e5fd28ff857d0
Diffstat (limited to 'ucb/source/ucp/gvfs')
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_content.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx index 29e328f27274..8e7778b3884d 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.cxx +++ b/ucb/source/ucp/gvfs/gvfs_content.cxx @@ -649,8 +649,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( else xRow->appendVoid( rProp ); - else if (rProp.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "IsVolume" ) ) || - rProp.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "IsCompactDisk" ) ) ) + else if ( rProp.Name == "IsVolume" || rProp.Name == "IsCompactDisk" ) xRow->appendBoolean( rProp, sal_False ); else if ( rProp.Name == "DateCreated" ) { @@ -784,12 +783,12 @@ uno::Sequence< uno::Any > Content::setPropertyValues( #if OSL_DEBUG_LEVEL > 1 g_warning( "Set prop '%s'", OUStringToGnome( rValue.Name ) ); #endif - if ( rValue.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ContentType" ) ) || - rValue.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "MediaType" ) ) || - rValue.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "IsDocument" ) ) || - rValue.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "IsFolder" ) ) || - rValue.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Size" ) ) || - rValue.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CreatableContentsInfo" ) ) ) + if ( rValue.Name == "ContentType" || + rValue.Name == "MediaType" || + rValue.Name == "IsDocument" || + rValue.Name == "IsFolder" || + rValue.Name == "Size" || + rValue.Name == "CreatableContentsInfo" ) aRet[ n ] <<= getReadOnlyException( this ); else if ( rValue.Name == "Title" ) { |