[Libreoffice-commits] .: sal/osl

Julien Nabet serval2412 at kemper.freedesktop.org
Mon Jul 16 13:42:02 PDT 2012


 sal/osl/unx/profile.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba768f83cf4035d5e42d3a5b242ab7b371ec2634
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Jul 16 22:40:57 2012 +0200

    Fix "Same expression on both sides of '|'"
    
    Change-Id: I8f71f0b20f3f1f41acde05d59a9b94d1ce942a7b

diff --git a/sal/osl/unx/profile.c b/sal/osl/unx/profile.c
index 7736305..e51fdcf 100644
--- a/sal/osl/unx/profile.c
+++ b/sal/osl/unx/profile.c
@@ -1303,7 +1303,7 @@ static osl_TStamp closeFileImpl(osl_TFile* pFile, oslProfileOption Flags)
     {
         stamp = OslProfile_getFileStamp(pFile);
 
-        if ( Flags & (osl_Profile_WRITELOCK | osl_Profile_WRITELOCK ) )
+        if ( Flags & (osl_Profile_WRITELOCK | osl_Profile_READLOCK ) )
         {
             OslProfile_lockFile(pFile, un_lock);
         }


More information about the Libreoffice-commits mailing list