summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastypes.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/bastypes.cxx
parent8697284d248f47dd4798f7ef49791fc7686f646d (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I27f1d5ee55338372b1c24187b63d23ae39e0a8b3
Diffstat (limited to 'basctl/source/basicide/bastypes.cxx')
-rw-r--r--basctl/source/basicide/bastypes.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 203cf4f6d5a8..450d031436a6 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -48,8 +48,8 @@ BaseWindow::BaseWindow( vcl::Window* pParent, const ScriptDocument& rDocument, c
,m_aLibName( aLibName )
,m_aName( aName )
{
- pShellHScrollBar = 0;
- pShellVScrollBar = 0;
+ pShellHScrollBar = nullptr;
+ pShellVScrollBar = nullptr;
nStatus = 0;
}
@@ -209,7 +209,7 @@ bool BaseWindow::IsPasteAllowed ()
::svl::IUndoManager* BaseWindow::GetUndoManager()
{
- return NULL;
+ return nullptr;
}
SearchOptionFlags BaseWindow::GetSearchOptions()
@@ -268,7 +268,7 @@ WinBits const DockingWindow::StyleBits =
DockingWindow::DockingWindow (vcl::Window* pParent) :
::DockingWindow(pParent, StyleBits),
- pLayout(0),
+ pLayout(nullptr),
nShowCount(0)
{ }
@@ -752,7 +752,7 @@ LibInfos::Item const* LibInfos::GetInfo (
)
{
Map::iterator it = m_aMap.find(Key(rDocument, rLibName));
- return it != m_aMap.end() ? &it->second : 0;
+ return it != m_aMap.end() ? &it->second : nullptr;
}
LibInfos::Key::Key (ScriptDocument const& rDocument, OUString const& rLibName) :