summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmgreetingspage.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:53 +0100
commit01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch)
treeb8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/source/ui/dbui/mmgreetingspage.cxx
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/ui/dbui/mmgreetingspage.cxx')
-rw-r--r--sw/source/ui/dbui/mmgreetingspage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/mmgreetingspage.cxx b/sw/source/ui/dbui/mmgreetingspage.cxx
index 87cbd05e3038..40c4307adbc6 100644
--- a/sw/source/ui/dbui/mmgreetingspage.cxx
+++ b/sw/source/ui/dbui/mmgreetingspage.cxx
@@ -162,7 +162,7 @@ void SwMailMergeGreetingsPage::UpdatePreview()
const OUString sFemaleValue = m_pFemaleFieldCB->GetText();
const OUString sFemaleColumn = m_pFemaleColumnLB->GetSelectEntry();
Reference< sdbcx::XColumnsSupplier > xColsSupp( m_pWizard->GetConfigItem().GetResultSet(), UNO_QUERY);
- Reference < container::XNameAccess> xColAccess = xColsSupp.is() ? xColsSupp->getColumns() : 0;
+ Reference < container::XNameAccess> xColAccess = xColsSupp.is() ? xColsSupp->getColumns() : nullptr;
if(!sFemaleValue.isEmpty() && !sFemaleColumn.isEmpty() &&
xColAccess.is() &&
xColAccess->hasByName(sFemaleColumn))
@@ -284,7 +284,7 @@ SwMailMergeGreetingsPage::SwMailMergeGreetingsPage(SwMailMergeWizard* _pParent)
m_pGreetingLineCB->Check(rConfig.IsGreetingLine(false));
m_pPersonalizedCB->Check(rConfig.IsIndividualGreeting(false));
ContainsHdl_Impl(m_pGreetingLineCB);
- aIndividualLink.Call(0);
+ aIndividualLink.Call(nullptr);
lcl_FillGreetingsBox(*m_pFemaleLB, rConfig, SwMailMergeConfigItem::FEMALE);
lcl_FillGreetingsBox(*m_pMaleLB, rConfig, SwMailMergeConfigItem::MALE);
@@ -459,7 +459,7 @@ SwMailBodyDialog::SwMailBodyDialog(vcl::Window* pParent, SwMailMergeWizard* _pWi
m_pGreetingLineCB->Check(rConfig.IsGreetingLine(true));
m_pPersonalizedCB->Check(rConfig.IsIndividualGreeting(true));
ContainsHdl_Impl(m_pGreetingLineCB);
- aIndividualLink.Call(0);
+ aIndividualLink.Call(nullptr);
lcl_FillGreetingsBox(*m_pFemaleLB, rConfig, SwMailMergeConfigItem::FEMALE);
lcl_FillGreetingsBox(*m_pMaleLB, rConfig, SwMailMergeConfigItem::MALE);