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

Stephan Bergmann sbergman at redhat.com
Tue Apr 2 08:48:21 PDT 2013


 unoidl/source/legacyprovider.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fee628c8741d10b7e1ede9a0c20e26d8dbe3fa10
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 2 17:47:54 2013 +0200

    Off-by-one error
    
    Change-Id: I2abd81782baf421ff4e70b158709dbe6da5e14e3

diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index 251ddae..0aa6ec5 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -591,7 +591,7 @@ rtl::Reference< Entity > readEntity(
                             if ((mode & RT_PARAM_REST) != 0
                                 && !(m == 1
                                      && ((reader.getMethodParameterTypeName(
-                                              j, 1))
+                                              j, 0))
                                          == "any")))
                             {
                                 throw FileFormatException(


More information about the Libreoffice-commits mailing list