summaryrefslogtreecommitdiff
path: root/sw/inc/fmtfld.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2020-02-10 07:51:17 +0100
committerBjörn Michaelsen <bjoern.michaelsen@libreoffice.org>2020-02-16 14:10:56 +0100
commit79d0f67f01f75bf80e80a814ff3397fcf7dd1599 (patch)
tree9cc6740053faa187c3530a811e7889e76b36e89a /sw/inc/fmtfld.hxx
parentc691aed63451ba441d45d2feb90f7266e12366f4 (diff)
no more SwIterator in HasHiddenInformationNotes
Change-Id: Ic2a4340972ad29305dadc56a33081a211cc0205b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88758 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org> Tested-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc/fmtfld.hxx')
-rw-r--r--sw/inc/fmtfld.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx
index 812bc7403209..b2e6a6bf1508 100644
--- a/sw/inc/fmtfld.hxx
+++ b/sw/inc/fmtfld.hxx
@@ -52,6 +52,10 @@ namespace sw {
const bool m_bHideRedlines;
CollectPostItsHint(std::vector<SwFormatField*>& rvFormatFields, IDocumentRedlineAccess const& rIDRA, bool bHideRedlines) : m_rvFormatFields(rvFormatFields), m_rIDRA(rIDRA), m_bHideRedlines(bHideRedlines) {};
};
+ struct HasHiddenInformationNotesHint final : SfxHint {
+ bool& m_rbHasHiddenInformationNotes;
+ HasHiddenInformationNotesHint(bool& rbHasHiddenInformationNotes) : m_rbHasHiddenInformationNotes(rbHasHiddenInformationNotes) {};
+ };
}