summaryrefslogtreecommitdiff
path: root/src/lib/VSDTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/VSDTypes.h')
-rw-r--r--src/lib/VSDTypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/VSDTypes.h b/src/lib/VSDTypes.h
index ae0abd9..a2e6e40 100644
--- a/src/lib/VSDTypes.h
+++ b/src/lib/VSDTypes.h
@@ -188,6 +188,11 @@ public:
{
return !m_data.size();
}
+ void clear()
+ {
+ m_data.clear();
+ m_format = VSD_TEXT_ANSI;
+ }
librevenge::RVNGBinaryData m_data;
TextFormat m_format;
};