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

New commits:
commit fee628c8741d10b7e1ede9a0c20e26d8dbe3fa10
Author: Stephan Bergmann <[email protected]>
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(
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to