summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basides3.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/basides3.cxx
parent8697284d248f47dd4798f7ef49791fc7686f646d (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I27f1d5ee55338372b1c24187b63d23ae39e0a8b3
Diffstat (limited to 'basctl/source/basicide/basides3.cxx')
-rw-r--r--basctl/source/basicide/basides3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides3.cxx b/basctl/source/basicide/basides3.cxx
index cd84dd4972b1..f8458f67e385 100644
--- a/basctl/source/basicide/basides3.cxx
+++ b/basctl/source/basicide/basides3.cxx
@@ -115,7 +115,7 @@ VclPtr<DialogWindow> Shell::FindDlgWin (
{
if (BaseWindow* pWin = FindWindow(rDocument, rLibName, rName, TYPE_DIALOG, bFindSuspended))
return static_cast<DialogWindow*>(pWin);
- return bCreateIfNotExist ? CreateDlgWin(rDocument, rLibName, rName) : 0;
+ return bCreateIfNotExist ? CreateDlgWin(rDocument, rLibName, rName) : nullptr;
}
sal_uInt16 Shell::GetWindowId(const BaseWindow* pWin) const
@@ -131,7 +131,7 @@ SdrView* Shell::GetCurDlgView() const
if (DialogWindow* pDCurWin = dynamic_cast<DialogWindow*>(pCurWin.get()))
return &pDCurWin->GetView();
else
- return 0;
+ return nullptr;
}
// only if dialogue window above: