summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashodnakashian@yahoo.com>2017-11-03 07:25:01 -0400
committerAshod Nakashian <ashnakash@gmail.com>2017-11-07 05:10:54 +0100
commit240bf89a5221664414cfab7ff4d7d1dd35662f1e (patch)
tree39049863ee4e528923920636e76f067c9cedf836 /sw/inc/editsh.hxx
parentfe7384f7d6539210d46b31f9bde64129088be32b (diff)
TSCP: Restore paragraph signature when importing DOC(X)
And wrap getStatements in try/catch, as it can throw in some cases with nasty consequences. Change-Id: I19b0d41188e8835ca4308bcef2f05907e98faf3d Reviewed-on: https://gerrit.libreoffice.org/44258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 4461d9b0a04a..c076ac7e8ba1 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -383,6 +383,9 @@ public:
/// Validate all paragraph signatures.
void ValidateAllParagraphSignatures(bool updateDontRemove);
+ /// Restore the metadata fields, if missing, from the RDF metadata.
+ void RestoreMetadataFields();
+
/// Ensure that the classification of the doc is never lower than
/// the paragraph with the highest classification.
void ClassifyDocPerHighestParagraphClass();