Kaydet (Commit) c17eaa63 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Does not compile

Change-Id: If7d24a6378a6645baf9d0c40e3c3cf0ae7d4f317
üst 8da92842
......@@ -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 == "ContentType" ) ||
rValue.Name == "MediaType" ) ||
rValue.Name == "IsDocument" ) ||
rValue.Name == "IsFolder" ) ||
rValue.Name == "Size" ) ||
rValue.Name == "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.equals == "createNewContent" )
else if (aCommand.Name == "createNewContent"
&& isFolder( xEnv ) )
{
ucb::ContentInfo arg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment