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/register.cxx | |
parent | e246e5e3cf2722beb8a633259c0c395b498f58c6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
Diffstat (limited to 'starmath/source/register.cxx')
-rw-r--r-- | starmath/source/register.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/register.cxx b/starmath/source/register.cxx index 6f6062caea41..f28171060fd1 100644 --- a/starmath/source/register.cxx +++ b/starmath/source/register.cxx @@ -40,11 +40,11 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL sm_component_getFactory( const sal_Char* pIm void* /*pRegistryKey*/ ) { // Set default return value for this operation - if it failed. - void* pReturn = NULL ; + void* pReturn = nullptr ; if ( - ( pImplementationName != NULL ) && - ( pServiceManager != NULL ) + ( pImplementationName != nullptr ) && + ( pServiceManager != nullptr ) ) { // Define variables which are used in following macros. |