[Libreoffice-commits] core.git: scripting/source

Julien Nabet serval2412 at yahoo.fr
Sun May 11 01:38:00 PDT 2014


 scripting/source/provider/URIHelper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e3d01ad33689168d46969fd5d8fb432e03a0b41b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun May 11 10:37:30 2014 +0200

    Fix previous commit (scripting part)
    
    Change-Id: Ib451642924909c11db4252e81d0c6db690c0e838

diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index b0a5204..a8498b3 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -86,8 +86,8 @@ ScriptingFrameworkURIHelper::initialize(
 throw ( uno::Exception, uno::RuntimeException, std::exception )
 {
     if ( args.getLength() != 2 ||
-         args[0].getValueType() != ::cppu::UnoType<OUString>::get()NULL) ||
-         args[1].getValueType() != ::cppu::UnoType<OUString>::get()NULL) )
+         args[0].getValueType() != ::cppu::UnoType<OUString>::get() ||
+         args[1].getValueType() != ::cppu::UnoType<OUString>::get() )
     {
         throw uno::RuntimeException( OUString(
             "ScriptingFrameworkURIHelper got invalid argument list" ),


More information about the Libreoffice-commits mailing list