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

New commits:
commit 3eff3abb4ea327b884a35e20bcaa3d371ce526f0
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Mon Jan 16 20:45:44 2012 +0100

    Fix "Same expression on both sides of '||'"
    
    Signed-off-by: Petr Mladek <pmla...@suse.cz>

diff --git a/ucb/source/ucp/webdav/LockEntrySequence.cxx 
b/ucb/source/ucp/webdav/LockEntrySequence.cxx
index 49e5547..075af01 100644
--- a/ucb/source/ucp/webdav/LockEntrySequence.cxx
+++ b/ucb/source/ucp/webdav/LockEntrySequence.cxx
@@ -171,7 +171,7 @@ extern "C" int LockEntrySequence_endelement_callback(
             break;
 
         case STATE_LOCKENTRY:
-            if ( !pCtx->hasType || !pCtx->hasType )
+            if ( !pCtx->hasType || !pCtx->hasScope )
                 return 1; // abort
             break;
 
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to