diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:25:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:50 +0100 |
commit | 6cd7bf2043146a630925a2e49336f02c802f707a (patch) | |
tree | 786cecd8ab993e25cda497d45b68007050c30d61 /svx/source/form/fmsrcimp.cxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/form/fmsrcimp.cxx')
-rw-r--r-- | svx/source/form/fmsrcimp.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index d96ef9390d7a..ac5f78dbd59f 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -97,7 +97,7 @@ FmRecordCountListener::FmRecordCountListener(const Reference< css::sdbc::XResult if (::comphelper::getBOOL(m_xListening->getPropertyValue(FM_PROP_ROWCOUNTFINAL))) { - m_xListening = NULL; + m_xListening = nullptr; // there's nothing to do as the record count is already known return; } @@ -128,7 +128,7 @@ void FmRecordCountListener::DisConnect() { if(m_xListening.is()) m_xListening->removePropertyChangeListener(FM_PROP_ROWCOUNT, static_cast<css::beans::XPropertyChangeListener*>(this)); - m_xListening = NULL; + m_xListening = nullptr; } @@ -364,7 +364,7 @@ OUString FmSearchEngine::FormatField(sal_Int32 nWhich) if (m_bUsingTextComponents) { DBG_ASSERT((sal_uInt32)nWhich < m_aControlTexts.size(), "FmSearchEngine::FormatField(sal_Int32) : invalid position !"); - DBG_ASSERT(m_aControlTexts[nWhich] != NULL, "FmSearchEngine::FormatField(sal_Int32) : invalid object in array !"); + DBG_ASSERT(m_aControlTexts[nWhich] != nullptr, "FmSearchEngine::FormatField(sal_Int32) : invalid object in array !"); DBG_ASSERT(m_aControlTexts[nWhich]->getControl().is(), "FmSearchEngine::FormatField : invalid control !"); if (m_nCurrentFieldIndex != -1) @@ -1170,7 +1170,7 @@ void FmSearchEngine::ImplStartNextSearch() else { SearchNextImpl(); - LINK(this, FmSearchEngine, OnSearchTerminated).Call(NULL); + LINK(this, FmSearchEngine, OnSearchTerminated).Call(nullptr); } } @@ -1232,7 +1232,7 @@ void FmSearchEngine::StartOverSpecial(bool _bSearchForNull) void FmSearchEngine::InvalidatePreviousLoc() { - m_aPreviousLocBookmark.setValue(0,cppu::UnoType<void>::get()); + m_aPreviousLocBookmark.setValue(nullptr,cppu::UnoType<void>::get()); m_iterPreviousLocField = m_arrUsedFields.end(); } |