Kaydet (Commit) e1e967a1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:nullptr (automatic rewrite)

Change-Id: Ifa481aa4bf87e7e2f93d1635864c8813f65da2f1
üst 09efeeb4
...@@ -606,7 +606,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget( ...@@ -606,7 +606,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget(
const OUString& aListenerType, const OUString& aListenerType,
const OUString& aAddListenerParam) const OUString& aAddListenerParam)
{ {
Reference< XEventListener > xRet = NULL; Reference< XEventListener > xRet = nullptr;
// Construct the name of the addListener-Method. // Construct the name of the addListener-Method.
sal_Int32 nIndex = aListenerType.lastIndexOf('.'); sal_Int32 nIndex = aListenerType.lastIndexOf('.');
...@@ -893,7 +893,7 @@ extern "C" ...@@ -893,7 +893,7 @@ extern "C"
SAL_DLLPUBLIC_EXPORT void * SAL_CALL evtatt_component_getFactory( SAL_DLLPUBLIC_EXPORT void * SAL_CALL evtatt_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * ) const sal_Char * pImplName, void * pServiceManager, void * )
{ {
void * pRet = 0; void * pRet = nullptr;
if (pServiceManager && rtl_str_compare( pImplName, IMPLNAME ) == 0) if (pServiceManager && rtl_str_compare( pImplName, IMPLNAME ) == 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment