summaryrefslogtreecommitdiff
path: root/include/osl/module.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:21:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:35 +0100
commit26f05d59bc1c25b8a0d19be7f4738fd12e557001 (patch)
tree560cccfaacf4b63385aa52ac4b3912248e87cbef /include/osl/module.hxx
parent5bbdb9423e15b68438bb8397c15635e044129e28 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I1bc6c87fcd6e5e96362623be94c59be216a3b2b8
Diffstat (limited to 'include/osl/module.hxx')
-rw-r--r--include/osl/module.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osl/module.hxx b/include/osl/module.hxx
index 7858ad0695e5..db8e24ec485f 100644
--- a/include/osl/module.hxx
+++ b/include/osl/module.hxx
@@ -61,11 +61,11 @@ public:
return osl_getModuleURLFromFunctionAddress( addr, &libraryUrl.pData );
}
- Module(): m_Module(0){}
+ Module(): m_Module(NULL){}
#ifndef DISABLE_DYNLOADING
- Module( const ::rtl::OUString& strModuleName, sal_Int32 nRtldMode = SAL_LOADMODULE_DEFAULT) : m_Module(0)
+ Module( const ::rtl::OUString& strModuleName, sal_Int32 nRtldMode = SAL_LOADMODULE_DEFAULT) : m_Module(NULL)
{
load( strModuleName, nRtldMode);
}
@@ -114,7 +114,7 @@ public:
if (m_Module)
{
osl_unloadModule(m_Module);
- m_Module = 0;
+ m_Module = NULL;
}
}
@@ -170,7 +170,7 @@ public:
@since LibreOffice 4.3
*/
- void release() { m_Module = 0; }
+ void release() { m_Module = NULL; }
private:
oslModule m_Module;