diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-08 13:50:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-08 15:29:53 +0100 |
commit | f57baefbd3c4c5d8e5ec28e8702c91d60ffc5de2 (patch) | |
tree | 79e65468b9b8aba28c14533a89314389a5f4d727 /sw | |
parent | 4a90740fcee07996469ff702daa04953f39be191 (diff) |
add chaff to encrypted documents
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/swg/SwXMLBlockExport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/swg/SwXMLBlockExport.cxx b/sw/source/core/swg/SwXMLBlockExport.cxx index 674a33fe2c4f..848bd6c542df 100644 --- a/sw/source/core/swg/SwXMLBlockExport.cxx +++ b/sw/source/core/swg/SwXMLBlockExport.cxx @@ -55,6 +55,8 @@ sal_uInt32 SwXMLBlockListExport::exportDoc(enum XMLTokenEnum ) { GetDocHandler()->startDocument(); + addChaffWhenEncryptedStorage(); + AddAttribute ( XML_NAMESPACE_NONE, _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ), _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) ); @@ -110,6 +112,8 @@ sal_uInt32 SwXMLTextBlockExport::exportDoc(const String &rText) { GetDocHandler()->startDocument(); + addChaffWhenEncryptedStorage(); + AddAttribute ( XML_NAMESPACE_NONE, _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ), _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) ); |