summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/pardlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:53 +0100
commit01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch)
treeb8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/source/ui/chrdlg/pardlg.cxx
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/ui/chrdlg/pardlg.cxx')
-rw-r--r--sw/source/ui/chrdlg/pardlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index 6d9738f7a8b6..d3b72a0222aa 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -54,7 +54,7 @@ SwParaDlg::SwParaDlg(vcl::Window *pParent,
: SfxTabDialog(pParent,
"ParagraphPropertiesDialog",
"modules/swriter/ui/paradialog.ui",
- &rCoreSet, 0 != pTitle)
+ &rCoreSet, nullptr != pTitle)
, rView(rVw)
, nDlgMode(nDialogMode)
, bDrawParaDlg(bDraw)
@@ -208,7 +208,7 @@ 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(0,true);
+ const FrmTypeFlags eType = rSh.GetFrmType(nullptr,true);
if( !(FrmTypeFlags::BODY & eType) ||
rSh.GetSelectionType() & nsSelectionType::SEL_TBL )
{
@@ -226,7 +226,7 @@ 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(0,true);
+ const FrmTypeFlags eType = rSh.GetFrmType(nullptr,true);
if(!(FrmTypeFlags::BODY & eType) ||
rSh.GetSelectionType() & nsSelectionType::SEL_TBL)
{