[Libreoffice-commits] .: pyuno/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sun Aug 21 02:19:06 PDT 2011


 pyuno/source/module/pyuno_module.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b2da8254dc031d7f4f21cac81eeebc2b6cd5b448
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Aug 21 11:18:13 2011 +0200

    There was still overload ambiguous

diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index 0401408..a126152 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -124,7 +124,7 @@ public:
     {
         return Py_True == PyDict_GetItem(used, key);
     }
-    void setInitialised(OUString key, int pos = -1)
+    void setInitialised(OUString key, sal_Int32 pos = -1)
     {
         if (initialised[key])
         {
@@ -135,7 +135,7 @@ public:
             if ( pos >= 0 )
             {
                 buf.appendAscii( " at position ");
-                buf.append(pos, 10);
+                buf.append(pos);
             }
             buf.appendAscii( " initialised multiple times.");
             throw RuntimeException(buf.makeStringAndClear(), Reference< XInterface > ());


More information about the Libreoffice-commits mailing list