summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-05 12:40:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-05 12:40:34 +0200
commitf636b1cdd48a8a699433da38068907845b9bf18a (patch)
treec61373a1f8492749ebbcb7d0301293dd4b7e0c00 /svl
parent9d1c8e66f7020fa0150b23bd450e514f848bd20b (diff)
loplugin:nullptr
Change-Id: Iabc4df52491adff974de4656f626ab19848dd3f0
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/poolitem.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx
index 90f5b739cc65..4c3bb3415e1b 100644
--- a/svl/source/items/poolitem.cxx
+++ b/svl/source/items/poolitem.cxx
@@ -46,27 +46,27 @@ SfxPoolItem::SfxPoolItem(sal_uInt16 const nWhich)
if ( pw1 && nItemCount>=10000 )
{
SAL_INFO( "svl", pw1 );
- pw1 = NULL;
+ pw1 = nullptr;
}
if ( pw2 && nItemCount>=100000 )
{
SAL_INFO( "svl", pw2 );
- pw2 = NULL;
+ pw2 = nullptr;
}
if ( pw3 && nItemCount>=1000000 )
{
SAL_INFO( "svl", pw3 );
- pw3 = NULL;
+ pw3 = nullptr;
}
if ( pw4 && nItemCount>=5000000 )
{
SAL_INFO( "svl", pw4 );
- pw4 = NULL;
+ pw4 = nullptr;
}
if ( pw5 && nItemCount>=10000000 )
{
SAL_INFO( "svl", pw5 );
- pw5 = NULL;
+ pw5 = nullptr;
}
#endif
}
@@ -82,27 +82,27 @@ SfxPoolItem::SfxPoolItem( const SfxPoolItem& rCpy )
if ( pw1 && nItemCount>=10000 )
{
SAL_INFO( "svl", pw1 );
- pw1 = NULL;
+ pw1 = nullptr;
}
if ( pw2 && nItemCount>=100000 )
{
SAL_INFO( "svl", pw2 );
- pw2 = NULL;
+ pw2 = nullptr;
}
if ( pw3 && nItemCount>=1000000 )
{
SAL_INFO( "svl", pw3 );
- pw3 = NULL;
+ pw3 = nullptr;
}
if ( pw4 && nItemCount>=5000000 )
{
SAL_INFO( "svl", pw4 );
- pw4 = NULL;
+ pw4 = nullptr;
}
if ( pw5 && nItemCount>=10000000 )
{
SAL_INFO( "svl", pw5 );
- pw5 = NULL;
+ pw5 = nullptr;
}
#endif
}