summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2019-10-14 17:50:47 +0200
committerLászló Németh <nemeth@numbertext.org>2019-10-16 12:15:16 +0200
commit2756ed9317e3474003c11ffe7d1e2f087c1412bf (patch)
tree3c8952f94809a5bf8a4ad660935c46bba8bcfec8 /sfx2
parent4a96fb8ec0130e1036913093836bcf28bc37a49b (diff)
tdf#106843 DOCX: export/import change tracking protection
Now change tracking protection from Writer or from ODT files is exported to DOCX. In Writer it's always possible to disable change tracking protection without password in File->Properties->Security page-> Record Changes after confirmation. Now Writer uses the same confirmation to remove change tracking protection imported from DOCX, for example clicking on Record Track Changes. Disabled protection removes the export of the grab-bagged change tracking protection, too, to avoid of creating bad DOCX with enabled change tracking protection and disabled Record change tracking. See also commit d416250f4f1766e2d596ea3feef6a94b7adf29f4 "tdf#106843 DOCX: forbid disabling protected Record Changes" Change-Id: Ida4d72c57dbe5450ea22028bbed69d413f5a786d Reviewed-on: https://gerrit.libreoffice.org/80784 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/templatelocalview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index 6eb22537e004..2242170cb1f0 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -605,7 +605,7 @@ void SfxTemplateLocalView::createContextMenu(const bool bIsDefault)
mxContextMenu->append("default",SfxResId(STR_RESET_DEFAULT));
mxContextMenu->append_separator("separator");
- mxContextMenu->append("rename",SfxResId(STR_RENAME));
+ mxContextMenu->append("rename",SfxResId(STR_SFX_RENAME));
mxContextMenu->append("delete",SfxResId(STR_DELETE));
deselectItems();
maSelectedItem->setSelection(true);