summaryrefslogtreecommitdiff
path: root/sw/inc/IDocumentRedlineAccess.hxx
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2019-05-27 18:23:46 +0200
committerLászló Németh <nemeth@numbertext.org>2019-05-28 07:49:28 +0200
commitcaeb6ff68d49e1b1ca911cf3f63371b855ee935d (patch)
treed512963626fa1fc04af81cd5d5d146ead2ea7975 /sw/inc/IDocumentRedlineAccess.hxx
parent67fd47e909aa88584420c3351ab17308aeb4e911 (diff)
DOCX import: clean-up FinalizeImport() of change tracking
FinalizeImport() could be triggered by accident while editing the document. Now we set it by checking PROP_REDLINE_REVERT_PROPERTIES used only in OOXML import. This is a clean-up of the commit 8acc15b5113c798ecdbeed91456a92e7b0c1334e "tdf#118699 DOCX import: don't add numbering." Change-Id: Ib1f4ee41ba94d640788396037b668b85b800f9d0 Reviewed-on: https://gerrit.libreoffice.org/73043 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc/IDocumentRedlineAccess.hxx')
-rw-r--r--sw/inc/IDocumentRedlineAccess.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx
index 7592de03411d..20c6d5b97210 100644
--- a/sw/inc/IDocumentRedlineAccess.hxx
+++ b/sw/inc/IDocumentRedlineAccess.hxx
@@ -229,6 +229,10 @@ public:
virtual void SetRedlinePassword(
/*[in]*/const css::uno::Sequence <sal_Int8>& rNewPassword) = 0;
+ virtual bool IsFinalizeImport() const = 0;
+
+ virtual void SetFinalizeImport(bool const bFinalizeImport) = 0;
+
protected:
virtual ~IDocumentRedlineAccess() {};
};