There was still overload ambiguous

This commit is contained in:
Julien Nabet 2011-08-21 11:18:13 +02:00
parent 790d4bd44a
commit b2da8254dc

View file

@ -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 > ());