From b2da8254dc031d7f4f21cac81eeebc2b6cd5b448 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 21 Aug 2011 11:18:13 +0200 Subject: [PATCH] There was still overload ambiguous --- pyuno/source/module/pyuno_module.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx index 04014080599b..a126152ef8c0 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 > ());