summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/reffact.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:22:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:36 +0100
commitde29ac09535d814e4be7e1bf0f10beb9f0f847e3 (patch)
tree139f75d657cb825622e812254b8b7df4e509140b /sc/source/ui/view/reffact.cxx
parent60c40af090e420a8619b5236bde1ff4ef79100c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/ui/view/reffact.cxx')
-rw-r--r--sc/source/ui/view/reffact.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx
index 4c986dd94f2f..565d989d9ba1 100644
--- a/sc/source/ui/view/reffact.cxx
+++ b/sc/source/ui/view/reffact.cxx
@@ -140,7 +140,7 @@ ScSimpleRefDlgWrapper::ScSimpleRefDlgWrapper( vcl::Window* pParentP,
: SfxChildWindow(pParentP, nId)
{
- ScTabViewShell* pViewShell = NULL;
+ ScTabViewShell* pViewShell = nullptr;
SfxDispatcher* pDisp = p->GetDispatcher();
if ( pDisp )
{
@@ -151,14 +151,14 @@ ScSimpleRefDlgWrapper::ScSimpleRefDlgWrapper( vcl::Window* pParentP,
OSL_ENSURE( pViewShell, "missing view shell :-(" );
- if(pInfo!=NULL && bScSimpleRefFlag)
+ if(pInfo!=nullptr && bScSimpleRefFlag)
{
pInfo->aPos.X()=nScSimpleRefX;
pInfo->aPos.Y()=nScSimpleRefY;
pInfo->aSize.Height()=nScSimpleRefHeight;
pInfo->aSize.Width()=nScSimpleRefWidth;
}
- SetWindow(NULL);
+ SetWindow(nullptr);
if(bAutoReOpen && pViewShell)
SetWindow( pViewShell->CreateRefDialog( p, this, pInfo, pParentP, WID_SIMPLE_REF) );
@@ -244,7 +244,7 @@ ScAcceptChgDlgWrapper::ScAcceptChgDlgWrapper( vcl::Window* pParentP,
static_cast<ScAcceptChgDlg*>(GetWindow())->Initialize( pInfo );
}
else
- SetWindow( NULL );
+ SetWindow( nullptr );
if (pViewShell && !GetWindow())
pViewShell->GetViewFrame()->SetChildWindow( nId, false );
}
@@ -275,7 +275,7 @@ namespace
if( SfxViewShell* pViewSh = pFrm->GetViewShell() )
return dynamic_cast<ScTabViewShell*>( pViewSh );
- return NULL;
+ return nullptr;
}
}
@@ -286,7 +286,7 @@ ScValidityRefChildWin::ScValidityRefChildWin( vcl::Window* pParent
: SfxChildWindow(pParentP, nId),
m_bVisibleLock( false ),
m_bFreeWindowLock( false ),
- m_pSavedWndParent( NULL )
+ m_pSavedWndParent( nullptr )
{
SetWantsFocus( false );
VclPtr<ScValidationDlg> pDlg = ScValidationDlg::Find1AliveObject( pParentP );