summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:24:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:41 +0100
commit374b4f349f1d1cb3b33004580ebc903d206f28ff (patch)
treeb26a69ad1287dc10f691cbb01504a0ba671dc591 /starmath/source/unomodel.cxx
parente246e5e3cf2722beb8a633259c0c395b498f58c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx4
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();