diff options
Diffstat (limited to 'configmgr/source/writemodfile.cxx')
-rw-r--r-- | configmgr/source/writemodfile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx index d56b284004e1..0824bae736a7 100644 --- a/configmgr/source/writemodfile.cxx +++ b/configmgr/source/writemodfile.cxx @@ -77,7 +77,7 @@ OString convertToUtf8( } // anonymous namespace TempFile::~TempFile() { - if (handle != 0) { + if (handle != nullptr) { if (!closed) { oslFileError e = osl_closeFile(handle); if (e != osl_File_E_None) { @@ -119,7 +119,7 @@ void TempFile::closeAndRename(const OUString &_url) { throw css::uno::RuntimeException( "cannot move " + url); } - handle = 0; + handle = nullptr; } oslFileError TempFile::flush() { |