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/gio | |
parent | d31bf8bf5524af62b48e59179ef7c2afc5096682 (diff) |
Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)
Change-Id: Iae4ea99e6eff6de8db3d40a6b86e5fd28ff857d0
Diffstat (limited to 'ucb/source/ucp/gio')
-rw-r--r-- | ucb/source/ucp/gio/gio_content.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index e7a34508d2c5..68e693c8b8aa 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -645,12 +645,12 @@ uno::Sequence< uno::Any > Content::setPropertyValues( #if OSL_DEBUG_LEVEL > 1 g_warning("Set prop '%s'", rtl::OUStringToOString(rValue.Name, RTL_TEXTENCODING_UTF8).getStr()); #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( static_cast< cppu::OWeakObject * >(this) ); } @@ -931,7 +931,7 @@ uno::Any SAL_CALL Content::execute( ucbhelper::cancelCommandExecution ( getBadArgExcept (), xEnv ); aRet <<= setPropertyValues( aProperties, xEnv ); } - else if (aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "createNewContent" ) ) + else if (aCommand.Name.equals == "createNewContent" ) && isFolder( xEnv ) ) { ucb::ContentInfo arg; |