summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfvalue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/rtftok/rtfvalue.cxx')
-rw-r--r--writerfilter/source/rtftok/rtfvalue.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfvalue.cxx b/writerfilter/source/rtftok/rtfvalue.cxx
index 488252209eea..eaacc2a8351e 100644
--- a/writerfilter/source/rtftok/rtfvalue.cxx
+++ b/writerfilter/source/rtftok/rtfvalue.cxx
@@ -200,6 +200,11 @@ RTFValue* RTFValue::Clone()
return new RTFValue(m_nValue, m_sValue, *m_pAttributes, *m_pSprms, m_xShape, m_xStream, m_xObject, m_bForceString);
}
+bool RTFValue::equals(RTFValue& rOther)
+{
+ return m_nValue == rOther.m_nValue;
+}
+
RTFSprms& RTFValue::getAttributes()
{
return *m_pAttributes;