summaryrefslogtreecommitdiff
path: root/starmath/source/detreg.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/detreg.cxx
parente246e5e3cf2722beb8a633259c0c395b498f58c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
Diffstat (limited to 'starmath/source/detreg.cxx')
-rw-r--r--starmath/source/detreg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/detreg.cxx b/starmath/source/detreg.cxx
index 1ce1296e309f..54fca7ec2371 100644
--- a/starmath/source/detreg.cxx
+++ b/starmath/source/detreg.cxx
@@ -35,11 +35,11 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL smd_component_getFactory( const sal_Char* pI
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.