[Libreoffice-commits] .: Branch 'libreoffice-3-6' - ucb/source

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Thu Jun 28 01:48:36 PDT 2012


 ucb/source/ucp/cmis/cmis_content.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1a19e67d1a20d448d4e0f64647540f6ecc7b7e51
Author: Cédric Bosdonnat <cedric.bosdonnat at 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 );


More information about the Libreoffice-commits mailing list