summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/break.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/break.cxx')
-rw-r--r--sw/source/ui/chrdlg/break.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/break.cxx b/sw/source/ui/chrdlg/break.cxx
index bdadb73b990f..e994fc267774 100644
--- a/sw/source/ui/chrdlg/break.cxx
+++ b/sw/source/ui/chrdlg/break.cxx
@@ -197,7 +197,7 @@ void SwBreakDlg::CheckEnable()
m_pPageCollBox->Enable(false);
bEnable = false;
}
- else if(rSh.GetFrmType(0,true)
+ else if(rSh.GetFrmType(nullptr,true)
& (FrmTypeFlags::FLY_ANY | FrmTypeFlags::HEADER | FrmTypeFlags::FOOTER | FrmTypeFlags::FOOTNOTE))
{
m_pPageBtn->Enable(false);