sot/source/sdstor/storage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d876e48cb0292d94e193ea7da2538e018f0e07c
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Fri Jul 7 17:23:00 2017 +0200

    sot: fix loplugin:unnecessaryparen warning
    
    Change-Id: Ia022f6cb1e9c91c9aa49025e54699a5c7718fc75

diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index df3caff95a85..13e6c7d08ab4 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -291,7 +291,7 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, 
StreamMode nMode )
     if( !m_aName.isEmpty() )
     {
         // named storage
-        if( ( ( nMode & ERASEMASK ) == ERASEMASK ) )
+        if( ( nMode & ERASEMASK ) == ERASEMASK )
             ::utl::UCBContentHelper::Kill( m_aName );
 
         INetURLObject aObj( m_aName );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to