summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_module.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index 718759f4e88f..5513f0e051ce 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -88,15 +88,12 @@ class fillStructState
// How many positional arguments are consumed
// This is always the so-many first ones
sal_Int32 nPosConsumed;
- // The total number of members set, either by a keyword argument or a positional argument
- unsigned int nMembersSet;
public:
fillStructState()
: used (PyDict_New())
, initialised ()
, nPosConsumed (0)
- , nMembersSet (0)
{
if ( ! used )
throw RuntimeException("pyuno._createUnoStructHelper failed to create new dictionary", Reference< XInterface > ());
@@ -109,10 +106,6 @@ public:
{
PyDict_SetItem(used, key, Py_True);
}
- bool isUsed(PyObject *key) const
- {
- return Py_True == PyDict_GetItem(used, key);
- }
void setInitialised(OUString key, sal_Int32 pos = -1)
{
if (initialised[key])
@@ -130,7 +123,6 @@ public:
throw RuntimeException(buf.makeStringAndClear(), Reference< XInterface > ());
}
initialised[key] = true;
- ++nMembersSet;
if ( pos >= 0 )
++nPosConsumed;
}
@@ -146,10 +138,6 @@ public:
{
return nPosConsumed;
}
- int getCntMembersSet() const
- {
- return nMembersSet;
- }
};
static void fillStruct(