summaryrefslogtreecommitdiff
path: root/sw/inc/node.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/node.hxx')
-rw-r--r--sw/inc/node.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 143213035881..c403a75a136a 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -90,7 +90,7 @@ class SW_DLLPUBLIC SwNode
public:
/// sw_redlinehide: redline node merge state
enum class Merge { None, First, NonFirst, Hidden };
- bool IsCreateFrameWhenHidingRedlines() {
+ bool IsCreateFrameWhenHidingRedlines() const {
return m_eMerge == Merge::None || m_eMerge == Merge::First;
}
void SetRedlineMergeFlag(Merge const eMerge) { m_eMerge = eMerge; }