diff options
author | Justin Luth <justin.luth@collabora.com> | 2018-10-10 23:38:22 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-10-11 10:39:37 +0200 |
commit | 6b9fb354be966e00b9b9425eb99ec1a339babe22 (patch) | |
tree | dcff56400fec3baff5920b4d37f862fdd32fe517 /sw/source/filter/ww8/wrtww8.cxx | |
parent | 5c57e18a775cf82714f7dfd385d970b7a5439c88 (diff) |
related tdf#120225 ww8export: save PROTECT_FORM
Change-Id: I20664f8c2dc2c49feec17ee6a1df72776d43cc40
Reviewed-on: https://gerrit.libreoffice.org/61635
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
(cherry picked from commit 9943f37e8a80f2c4df6d58da4c50f3e7f3d6f3ce)
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index afef206af619..374665f56ec8 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -510,6 +510,7 @@ static void WriteDop( WW8Export& rWrt ) } if ((rWrt.pSepx && rWrt.pSepx->DocumentIsProtected()) || + rWrt.m_pDoc->getIDocumentSettingAccess().get(DocumentSettingId::PROTECT_FORM ) || rDop.lKeyProtDoc != 0) { rDop.fProtEnabled = true; |