summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-08-21 11:18:13 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-08-21 11:18:13 +0200
commitb2da8254dc031d7f4f21cac81eeebc2b6cd5b448 (patch)
tree566227a5e92ab18beb036c7e1cc008d5f07e4699 /pyuno
parent790d4bd44a5f040afe76adf2da424edc9a58fead (diff)
There was still overload ambiguous
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_module.cxx4
1 files 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 > ());