diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-06-28 10:30:11 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-06-28 10:32:34 +0200 |
commit | b9cf9ea846bd993462762407ce8740665a92593c (patch) | |
tree | 7e0efa07b9124db66743a088bd480c5bd367196a /ucb | |
parent | 7a3ae89a12b2c11e90d3f0c76293ddb63203bd2a (diff) |
CMIS UCP: oops, read-only check has been reversed somehow
Change-Id: Ib81bf394b71cf3e38ee6a87db903474414b9f704
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index ddf09ba56342..fb78931c6ba0 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -352,7 +352,7 @@ namespace cmis { boost::shared_ptr< libcmis::AllowableActions > allowableActions = getObject()->getAllowableActions( ); sal_Bool bReadOnly = sal_False; - if ( allowableActions->isAllowed( libcmis::ObjectAction::SetContentStream ) ) + if ( !allowableActions->isAllowed( libcmis::ObjectAction::SetContentStream ) ) bReadOnly = sal_True; xRow->appendBoolean( rProp, bReadOnly ); |