ucb/source/ucp/cmis/cmis_content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b9cf9ea846bd993462762407ce8740665a92593c Author: Cédric Bosdonnat <cedric.bosdon...@free.fr> Date: Thu Jun 28 10:30:11 2012 +0200 CMIS UCP: oops, read-only check has been reversed somehow Change-Id: Ib81bf394b71cf3e38ee6a87db903474414b9f704 diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index ddf09ba..fb78931 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 );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits