[Libreoffice-commits] .: ucb/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Jan 13 06:56:05 PST 2013


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

New commits:
commit a2dd3feaea16a765956aecacdd6cc21ab5404a5b
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

diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index f6063cc..a08e033 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -1172,7 +1172,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