summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside3.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:10:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:16 +0100
commit4b0a3da4c5303fc97658050cf790f956f298599a (patch)
tree43764a1843059b3cdcf2e008c6c06d6a2d8cb87b /basctl/source/basicide/baside3.cxx
parent8697284d248f47dd4798f7ef49791fc7686f646d (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I27f1d5ee55338372b1c24187b63d23ae39e0a8b3
Diffstat (limited to 'basctl/source/basicide/baside3.cxx')
-rw-r--r--basctl/source/basicide/baside3.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index 782dc1ad8268..6b1edfbfc524 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -348,7 +348,7 @@ void DialogWindow::GetState( SfxItemSet& rSet )
case SID_SHOW_PROPERTYBROWSER:
{
Shell* pShell = GetShell();
- SfxViewFrame* pViewFrame = pShell ? pShell->GetViewFrame() : NULL;
+ SfxViewFrame* pViewFrame = pShell ? pShell->GetViewFrame() : nullptr;
if ( pViewFrame && !pViewFrame->HasChildWindow( SID_SHOW_PROPERTYBROWSER ) && !pEditor->GetView().AreObjectsMarked() )
rSet.DisableItem( nWh );
@@ -1148,7 +1148,7 @@ bool implImportDialog( vcl::Window* pWin, const OUString& rCurPath, const Script
if (basctl::RemoveDialog( rDocument, aLibName, aNewDlgName ) )
{
BaseWindow* pDlgWin = pShell->FindDlgWin( rDocument, aLibName, aNewDlgName, false, true );
- if( pDlgWin != NULL )
+ if( pDlgWin != nullptr )
pShell->RemoveWindow( pDlgWin, true );
MarkDocumentModified( rDocument );
}
@@ -1374,9 +1374,9 @@ ItemType DialogWindow::GetType () const
DialogWindowLayout::DialogWindowLayout (vcl::Window* pParent, ObjectCatalog& rObjectCatalog_) :
Layout(pParent),
- pChild(0),
+ pChild(nullptr),
rObjectCatalog(rObjectCatalog_),
- pPropertyBrowser(0)
+ pPropertyBrowser(nullptr)
{
ShowPropertyBrowser();
}
@@ -1421,7 +1421,7 @@ void DialogWindowLayout::ShowPropertyBrowser ()
void DialogWindowLayout::DisablePropertyBrowser ()
{
if (pPropertyBrowser)
- pPropertyBrowser->Update(0);
+ pPropertyBrowser->Update(nullptr);
}
// updates the property browser
@@ -1449,7 +1449,7 @@ void DialogWindowLayout::Deactivating ()
rObjectCatalog.Hide();
if (pPropertyBrowser)
pPropertyBrowser->Hide();
- pChild = 0;
+ pChild = nullptr;
}
void DialogWindowLayout::ExecuteGlobal (SfxRequest& rReq)