summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-06-28 10:30:11 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-06-28 10:46:59 +0200
commit1a19e67d1a20d448d4e0f64647540f6ecc7b7e51 (patch)
treeaf0d99997240879779ab55b72ecb8e8bbd61303d /ucb
parent2992b53f39ea3d61d4acbe7f7c494f90228ce377 (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.cxx2
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 );