diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:24:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:41 +0100 |
commit | 374b4f349f1d1cb3b33004580ebc903d206f28ff (patch) | |
tree | b26a69ad1287dc10f691cbb01504a0ba671dc591 /starmath/source/unomodel.cxx | |
parent | e246e5e3cf2722beb8a633259c0c395b498f58c6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r-- | starmath/source/unomodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index fe292eb264bb..b1ecf5c4fdc5 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -422,7 +422,7 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any* SmDocShell *pDocSh = static_cast < SmDocShell * > (GetObjectShell()); - if ( NULL == pDocSh ) + if ( nullptr == pDocSh ) throw UnknownPropertyException(); SmFormat aFormat = pDocSh->GetFormat(); @@ -705,7 +705,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu { SmDocShell *pDocSh = static_cast < SmDocShell * > (GetObjectShell()); - if ( NULL == pDocSh ) + if ( nullptr == pDocSh ) throw UnknownPropertyException(); const SmFormat & aFormat = pDocSh->GetFormat(); |