summaryrefslogtreecommitdiff
path: root/include/osl/file.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/file.hxx
parent5bbdb9423e15b68438bb8397c15635e044129e28 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I1bc6c87fcd6e5e96362623be94c59be216a3b2b8
Diffstat (limited to 'include/osl/file.hxx')
-rw-r--r--include/osl/file.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/osl/file.hxx b/include/osl/file.hxx
index 19489484cb3b..1e75a57b8c1f 100644
--- a/include/osl/file.hxx
+++ b/include/osl/file.hxx
@@ -313,8 +313,8 @@ public:
oslFileHandle* pHandle,
::rtl::OUString* pustrTempFileURL)
{
- rtl_uString* pustr_dir_url = pustrDirectoryURL ? pustrDirectoryURL->pData : 0;
- rtl_uString** ppustr_tmp_file_url = pustrTempFileURL ? &pustrTempFileURL->pData : 0;
+ rtl_uString* pustr_dir_url = pustrDirectoryURL ? pustrDirectoryURL->pData : NULL;
+ rtl_uString** ppustr_tmp_file_url = pustrTempFileURL ? &pustrTempFileURL->pData : NULL;
return static_cast< RC >( osl_createTempFile(pustr_dir_url, pHandle, ppustr_tmp_file_url) );
}
@@ -926,7 +926,7 @@ public:
The full qualified URL of the file. Relative paths are not allowed.
*/
- File( const ::rtl::OUString& ustrFileURL ): _pData( 0 ), _aPath( ustrFileURL ) {}
+ File( const ::rtl::OUString& ustrFileURL ): _pData( NULL ), _aPath( ustrFileURL ) {}
/** Destructor
*/
@@ -1670,7 +1670,7 @@ public:
Relative URLs are not allowed.
*/
- Directory( const ::rtl::OUString& strPath ): _pData( 0 ), _aPath( strPath )
+ Directory( const ::rtl::OUString& strPath ): _pData( NULL ), _aPath( strPath )
{
}
@@ -1804,7 +1804,7 @@ public:
if( rItem._pData )
{
osl_releaseDirectoryItem( rItem._pData );
- rItem._pData = 0;
+ rItem._pData = NULL;
}
return ( RC) osl_getNextDirectoryItem( _pData, &rItem._pData, nHint );
}