summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filters/kword/mswrite/list.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/filters/kword/mswrite/list.h b/filters/kword/mswrite/list.h
index 051d16066..ae30483da 100644
--- a/filters/kword/mswrite/list.h
+++ b/filters/kword/mswrite/list.h
@@ -73,22 +73,22 @@ namespace MSWrite
{
return m_data;
}
- bool operator== (const dtype &rhs)
+ bool operator== (const ListElement &rhs)
{
- return this->data == rhs.data;
+ return this->m_data == rhs.m_data;
}
void setData (const dtype &data)
{
m_data = data;
}
- dtype &operator= (const dtype &rhs)
+ dtype &operator= (const ListElement &rhs)
{
if (this == &rhs)
return *this;
- this->data = rhs.data;
- return this->data;
+ this->m_data = rhs.m_data;
+ return this->m_data;
}
friend class List <dtype>;