summaryrefslogtreecommitdiff
path: root/sw/source/uibase/frmdlg
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/uibase/frmdlg
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/uibase/frmdlg')
-rw-r--r--sw/source/uibase/frmdlg/frmmgr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/frmdlg/frmmgr.cxx b/sw/source/uibase/frmdlg/frmmgr.cxx
index bd3c326429f0..8e6cbdd805d2 100644
--- a/sw/source/uibase/frmdlg/frmmgr.cxx
+++ b/sw/source/uibase/frmdlg/frmmgr.cxx
@@ -113,7 +113,7 @@ void SwFlyFrmAttrMgr::UpdateAttrMgr()
void SwFlyFrmAttrMgr::_UpdateFlyFrm()
{
- const SfxPoolItem* pItem = 0;
+ const SfxPoolItem* pItem = nullptr;
if (m_aSet.GetItemState(FN_SET_FRM_NAME, false, &pItem) == SfxItemState::SET)
m_pOwnSh->SetFlyName(static_cast<const SfxStringItem *>(pItem)->GetValue());
@@ -163,7 +163,7 @@ bool SwFlyFrmAttrMgr::InsertFlyFrm()
{
m_pOwnSh->StartAllAction();
- bool bRet = 0 != m_pOwnSh->NewFlyFrm( m_aSet );
+ bool bRet = nullptr != m_pOwnSh->NewFlyFrm( m_aSet );
// turn on the right mode at the shell, frame got selected automatically.
if ( bRet )
@@ -259,7 +259,7 @@ void SwFlyFrmAttrMgr::ValidateMetrics( SvxSwFrameValidation& rVal,
rVal.nVRelOrient,
pToCharContentPos,
rVal.bFollowTextFlow,
- rVal.bMirror, NULL, &rVal.aPercentSize,
+ rVal.bMirror, nullptr, &rVal.aPercentSize,
&rSize);
if (bOnlyPercentRefValue)