summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/pardlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/pardlg.cxx')
-rw-r--r--sw/source/ui/chrdlg/pardlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index d3b72a0222aa..0775a2bedbc9 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -208,8 +208,8 @@ void SwParaDlg::PageCreated(sal_uInt16 nId, SfxTabPage& rPage)
else if( m_nParaExt == nId )
{
// pagebreak only when the cursor is in the body-area and not in a table
- const FrmTypeFlags eType = rSh.GetFrmType(nullptr,true);
- if( !(FrmTypeFlags::BODY & eType) ||
+ const FrameTypeFlags eType = rSh.GetFrameType(nullptr,true);
+ if( !(FrameTypeFlags::BODY & eType) ||
rSh.GetSelectionType() & nsSelectionType::SEL_TBL )
{
aSet.Put(SfxBoolItem(SID_DISABLE_SVXEXTPARAGRAPHTABPAGE_PAGEBREAK,true));
@@ -226,8 +226,8 @@ void SwParaDlg::PageCreated(sal_uInt16 nId, SfxTabPage& rPage)
nHtmlMode & HTMLMODE_SOME_STYLES)
{
// pagebreak only when the cursor is in the body-area and not in a table
- const FrmTypeFlags eType = rSh.GetFrmType(nullptr,true);
- if(!(FrmTypeFlags::BODY & eType) ||
+ const FrameTypeFlags eType = rSh.GetFrameType(nullptr,true);
+ if(!(FrameTypeFlags::BODY & eType) ||
rSh.GetSelectionType() & nsSelectionType::SEL_TBL)
{
aSet.Put(SfxBoolItem(SID_DISABLE_SVXEXTPARAGRAPHTABPAGE_PAGEBREAK,true));