diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:13:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:22 +0100 |
commit | b58d56c5109f4cf6cacfc8e9c424b179a65bf1f1 (patch) | |
tree | bc7dcc71437367b193cb18dc5011c98ceb8c2c8b /cui/source/tabpages/transfrm.cxx | |
parent | 5185569e502240a064ef78d06d9de7fbbd93f3b6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7257532b90e3e393d56d5349531c9ad397523bca
Diffstat (limited to 'cui/source/tabpages/transfrm.cxx')
-rw-r--r-- | cui/source/tabpages/transfrm.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx index 0db63dbff63f..feca458c8c24 100644 --- a/cui/source/tabpages/transfrm.cxx +++ b/cui/source/tabpages/transfrm.cxx @@ -179,7 +179,7 @@ void SvxTransformTabDialog::SetValidateFramePosLink(const Link<SvxSwFrameValidat SvxAngleTabPage::SvxAngleTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs) : SvxTabPage( pParent,"Rotation","cui/ui/rotationtabpage.ui", rInAttrs) , rOutAttrs(rInAttrs) - , pView(NULL) + , pView(nullptr) , eDlgUnit(FUNIT_NONE) { get(m_pFlPosition, "FL_POSITION"); @@ -424,7 +424,7 @@ SvxSlantTabPage::SvxSlantTabPage(vcl::Window* pParent, const SfxItemSet& rInAttr : SvxTabPage( pParent,"SlantAndCornerRadius","cui/ui/slantcornertabpage.ui", rInAttrs) , rOutAttrs(rInAttrs) - , pView(NULL) + , pView(nullptr) , eDlgUnit(FUNIT_NONE) { get(m_pFlRadius, "FL_RADIUS"); @@ -701,7 +701,7 @@ VclPtr<SfxTabPage> SvxSlantTabPage::Create( vcl::Window* pWindow, const SfxItemS void SvxSlantTabPage::ActivatePage( const SfxItemSet& rSet ) { - SfxRectangleItem const * pRectItem = NULL; + SfxRectangleItem const * pRectItem = nullptr; if( SfxItemState::SET == rSet.GetItemState( GetWhich( SID_ATTR_TRANSFORM_INTERN ) , false, reinterpret_cast<SfxPoolItem const **>(&pRectItem) ) ) { @@ -736,7 +736,7 @@ void SvxSlantTabPage::PointChanged( vcl::Window* , RECT_POINT ) SvxPositionSizeTabPage::SvxPositionSizeTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs) : SvxTabPage(pParent,"PositionAndSize","cui/ui/possizetabpage.ui", rInAttrs) , mrOutAttrs(rInAttrs) - , mpView(NULL) + , mpView(nullptr) , meDlgUnit(FUNIT_NONE) , mnProtectSizeState(TRISTATE_FALSE) , mbPageDisabled(false) @@ -1079,7 +1079,7 @@ void SvxPositionSizeTabPage::Reset( const SfxItemSet* ) m_pCtlPos->Reset(); // #i2379# Disable controls for protected objects - ChangePosProtectHdl( NULL ); + ChangePosProtectHdl( nullptr ); } { // #i75273# set width @@ -1141,10 +1141,10 @@ void SvxPositionSizeTabPage::Reset( const SfxItemSet* ) m_pTsbSizeProtect->SaveValue(); m_pTsbAutoGrowWidth->SaveValue(); m_pTsbAutoGrowHeight->SaveValue(); - ClickSizeProtectHdl( NULL ); + ClickSizeProtectHdl( nullptr ); // #i2379# Disable controls for protected objects - ChangeSizeProtectHdl( NULL ); + ChangeSizeProtectHdl( nullptr ); } @@ -1158,7 +1158,7 @@ VclPtr<SfxTabPage> SvxPositionSizeTabPage::Create( vcl::Window* pWindow, const S void SvxPositionSizeTabPage::ActivatePage( const SfxItemSet& rSet ) { - SfxRectangleItem const * pRectItem = NULL; + SfxRectangleItem const * pRectItem = nullptr; if( SfxItemState::SET == rSet.GetItemState( GetWhich( SID_ATTR_TRANSFORM_INTERN ) , false, reinterpret_cast<SfxPoolItem const **>(&pRectItem) ) ) { |