summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtww8.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2018-10-10 23:38:22 +0300
committerJustin Luth <justin_luth@sil.org>2018-10-11 07:16:39 +0200
commit9943f37e8a80f2c4df6d58da4c50f3e7f3d6f3ce (patch)
tree658a5d173fb4e7a3e5fa8ed7acfa0bf4030ef00c /sw/source/filter/ww8/wrtww8.cxx
parent4af4a473daf8b2530e6b6f5e49c7f4e3413f8378 (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>
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index b14a76d0c957..c6dda312b4b1 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -511,6 +511,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;