diff options
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(); |