summaryrefslogtreecommitdiff
path: root/sc/source/ui/xmlsource
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/xmlsource
parent60c40af090e420a8619b5236bde1ff4ef79100c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/ui/xmlsource')
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index f973ef3e2352..57b34dd08f29 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -70,7 +70,7 @@ ScXMLSourceDlg::ScXMLSourceDlg(
SfxBindings* pB, SfxChildWindow* pCW, vcl::Window* pParent, ScDocument* pDoc)
: ScAnyRefDlg(pB, pCW, pParent, "XMLSourceDialog",
"modules/scalc/ui/xmlsourcedialog.ui")
- , mpCurRefEntry(NULL)
+ , mpCurRefEntry(nullptr)
, mpDoc(pDoc)
, mbDlgLostFocus(false)
{
@@ -82,7 +82,7 @@ ScXMLSourceDlg::ScXMLSourceDlg(
mpLbTree->set_width_request(aTreeSize.Width());
mpLbTree->set_height_request(aTreeSize.Height());
get(mpRefEdit, "edit");
- mpRefEdit->SetReferences(this, NULL);
+ mpRefEdit->SetReferences(this, nullptr);
get(mpRefBtn, "ref");
mpRefBtn->SetReferences(this, mpRefEdit);
get(mpBtnCancel, "cancel");
@@ -227,7 +227,7 @@ void ScXMLSourceDlg::LoadSourceFileStructure(const OUString& rPath)
void ScXMLSourceDlg::HandleGetFocus(Control* pCtrl)
{
- mpActiveEdit = NULL;
+ mpActiveEdit = nullptr;
if (pCtrl == mpRefEdit || pCtrl == mpRefBtn)
mpActiveEdit = mpRefEdit;
@@ -263,7 +263,7 @@ public:
SvTreeListEntry* getReferenceEntry(SvTreeListBox& rTree, SvTreeListEntry* pCurEntry)
{
SvTreeListEntry* pParent = rTree.GetParent(pCurEntry);
- SvTreeListEntry* pRefEntry = NULL;
+ SvTreeListEntry* pRefEntry = nullptr;
while (pParent)
{
ScOrcusXMLTreeParam::EntryData* pUserData = ScOrcusXMLTreeParam::getUserData(*pParent);