summaryrefslogtreecommitdiff
path: root/sot/source/unoolestorage
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:24:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:40 +0100
commite246e5e3cf2722beb8a633259c0c395b498f58c6 (patch)
treea04f4d49e8f762a9ef780aceb20e81894ff185a3 /sot/source/unoolestorage
parent2ee689b56a8ec09387e1fadcea3097537180e4a7 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I147f1ca886d5194d0e7180c427923225ef4ef927
Diffstat (limited to 'sot/source/unoolestorage')
-rw-r--r--sot/source/unoolestorage/register.cxx2
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/sot/source/unoolestorage/register.cxx b/sot/source/unoolestorage/register.cxx
index df55fa0f98cb..1c6531105f27 100644
--- a/sot/source/unoolestorage/register.cxx
+++ b/sot/source/unoolestorage/register.cxx
@@ -32,7 +32,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sot_component_getFactory(
const sal_Char * pImplName, void * pServiceManager,
SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ )
{
- void * pRet = 0;
+ void * pRet = nullptr;
OUString aImplName( OUString::createFromAscii( pImplName ) );
uno::Reference< lang::XSingleServiceFactory > xFactory;
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index 3c180c51ed9f..280d0a57f9c2 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -46,9 +46,9 @@ const sal_Int32 nBytesCount = 32000;
OLESimpleStorage::OLESimpleStorage( uno::Reference< lang::XMultiServiceFactory > xFactory )
: m_bDisposed( false )
-, m_pStream( NULL )
-, m_pStorage( NULL )
-, m_pListenersContainer( NULL )
+, m_pStream( nullptr )
+, m_pStorage( nullptr )
+, m_pListenersContainer( nullptr )
, m_xFactory( xFactory )
, m_bNoTemporaryCopy( false )
{
@@ -69,7 +69,7 @@ OLESimpleStorage::~OLESimpleStorage()
if ( m_pListenersContainer )
{
delete m_pListenersContainer;
- m_pListenersContainer = NULL;
+ m_pListenersContainer = nullptr;
}
}