[Libreoffice-commits] .: scripting/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 8 09:41:10 PST 2012


 scripting/source/vbaevents/eventhelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e06575d46c6f3b24faf912018baea0eec9c82e4d
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Nov 8 18:38:04 2012 +0100

    scripting: warning C4804 usafe use of type bool
    
    Change-Id: I2db644a3c18658b07834fe6653b17713fd8201a7

diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index ac9d302..575fe2f 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -915,7 +915,7 @@ EventListener::firing_Impl(const ScriptEvent& evt, Any* pRet ) throw(RuntimeExce
             //rtl::OUString sMacroLoc("Project");
             sProject = "Standard";
 
-            if ( !pBasicManager->GetName().isEmpty() > 0 )
+            if (!pBasicManager->GetName().isEmpty())
             {
                 sProject =  pBasicManager->GetName();
             }


More information about the Libreoffice-commits mailing list