Kaydet (Commit) dc72abc7 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

no need to check for nullptr before deleting

Change-Id: I5512ad52c9a0f943b29656e16cceeb08ce164abf
Reviewed-on: https://gerrit.libreoffice.org/27888Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 5693ee7a
......@@ -138,11 +138,8 @@ void AnalysisAddIn::InitData()
pFD = nullptr;
}
if( pDefLocales )
{
delete pDefLocales;
pDefLocales = nullptr;
}
delete pDefLocales;
pDefLocales = nullptr;
}
AnalysisAddIn::AnalysisAddIn( const uno::Reference< uno::XComponentContext >& xContext ) :
......
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