summaryrefslogtreecommitdiff
path: root/starmath/source/register.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/register.cxx
parente246e5e3cf2722beb8a633259c0c395b498f58c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
Diffstat (limited to 'starmath/source/register.cxx')
-rw-r--r--starmath/source/register.cxx6
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.