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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 14 05:57:16 PST 2013


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

New commits:
commit af46de550494aed4cfaf1a0dde4c0d170d66b03f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jan 13 15:52:23 2013 +0100

    Add missing parenthesis
    
    Like this since 29/06/2001 (5ef2de612d973bc747ff4a107e4e4c4ecb273429)
    
    Change-Id: Ic86d6ca473a8bdf8f4c6f216fb6dd20af4694911
    (cherry picked from commit a2dd3feaea16a765956aecacdd6cc21ab5404a5b)
    
    Signed-off-by: Eike Rathke <erack at redhat.com>

diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index eba4595..8ea4a92 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -1181,7 +1181,7 @@ void SAL_CALL BaseContent::insert( sal_Int32 nMyCommandIdentifier,
 
     // Inserts the content, which has the flag m_bIsFresh
 
-    if( ! m_nState & NameForInsertionSet )
+    if( ! (m_nState & NameForInsertionSet) )
     {
         m_pMyShell->installError( nMyCommandIdentifier,
                                   TASKHANDLING_NONAMESET_INSERT_COMMAND );


More information about the Libreoffice-commits mailing list