summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-11-19 10:44:02 +0100
committerMichael Stahl <michael.stahl@cib.de>2020-11-19 14:19:29 +0100
commit4cf151aa73fdfca2f18abb2740e5e55c491af7fe (patch)
tree565f1a598270c806080f0d985d899ff9691525c3 /sw/inc
parent890849a9fc6344e4cea1428e529faf45389e777b (diff)
sw_fieldmarkhide: adapt SwUndoInsSection with ToX
... similar to commit 405661a98f01416c596083262691cedd941733a1. Change-Id: Id4faa6334816f361d5543ba38af50b85dbc2b2a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106127 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 74d356324cc0..75ab76a7c471 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -43,6 +43,7 @@
#include <atomic>
#include <memory>
#include <set>
+#include <tuple>
#include <unordered_map>
#include <vector>
@@ -139,6 +140,7 @@ enum class RndStdIds;
namespace sw::mark { class MarkManager; }
namespace sw {
enum class RedlineMode;
+ enum class FieldmarkMode;
class MetaFieldManager;
class UndoManager;
class IShellCursorSupplier;
@@ -1326,7 +1328,7 @@ public:
// insert section (the ODF kind of section, not the nodesarray kind)
SwSection * InsertSwSection(SwPaM const& rRange, SwSectionData &,
- std::pair<SwTOXBase const*, sw::RedlineMode> const* pTOXBase,
+ std::tuple<SwTOXBase const*, sw::RedlineMode, sw::FieldmarkMode> const* pTOXBase,
SfxItemSet const*const pAttr, bool const bUpdate = true);
static sal_uInt16 IsInsRegionAvailable( const SwPaM& rRange,
const SwNode** ppSttNd = nullptr );