summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-10 08:06:06 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:49 -0400
commit5e94b28f3392f544d52a72836521be9168db2768 (patch)
treef0e152e0e42128543958487e8e3e81d94a58a750 /hwpfilter
parent9eef06f0db88461e9efa92c8cac6107200f7b942 (diff)
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d (cherry picked from commit fb8a3fac5d448451794804a7470be45fa14da453)
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/list.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/hwpfilter/source/list.hxx b/hwpfilter/source/list.hxx
index e215716b8670..9cdf7df8ed4f 100644
--- a/hwpfilter/source/list.hxx
+++ b/hwpfilter/source/list.hxx
@@ -87,7 +87,7 @@ public:
template<class T>
LinkedList<T>::LinkedList( T* pItem )
{
- if( pItem != NULL )
+ if( pItem != nullptr )
maList.push_back( pItem );
}
@@ -101,7 +101,7 @@ LinkedListIterator<T>::LinkedListIterator( LinkedList<T>* pList ) :
mpList( pList ),
mnPosition( 0 )
{
- ASSERT( pList != NULL );
+ ASSERT( pList != nullptr );
}
template<class T>
@@ -112,7 +112,7 @@ LinkedListIterator<T>::~LinkedListIterator()
template<class T>
void LinkedListIterator<T>::operator++( int )
{
- ASSERT( mpList != NULL );
+ ASSERT( mpList != nullptr );
// bug-compatible with LinkedList.cxx: ignore parameter!
mnPosition ++;
@@ -121,7 +121,7 @@ void LinkedListIterator<T>::operator++( int )
template<class T>
void LinkedListIterator<T>::operator--( int )
{
- ASSERT( mpList != NULL );
+ ASSERT( mpList != nullptr );
// bug-compatible with LinkedList.cxx: ignore parameter!
mnPosition --;
@@ -130,14 +130,14 @@ void LinkedListIterator<T>::operator--( int )
template<class T>
void LinkedListIterator<T>::operator++()
{
- ASSERT( mpList != NULL );
+ ASSERT( mpList != nullptr );
mnPosition ++;
}
template<class T>
void LinkedListIterator<T>::operator--()
{
- ASSERT( mpList != NULL );
+ ASSERT( mpList != nullptr );
mnPosition --;
}