Kaydet (Commit) 8c4acc98 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735932 Explicit null dereferenced

Change-Id: I35ccc5ba619f7e861fca2c5e78de86d88480017d
üst b5e8833f
...@@ -276,7 +276,9 @@ void SwHTMLWriter::OutBasic() ...@@ -276,7 +276,9 @@ void SwHTMLWriter::OutBasic()
for( sal_uInt16 j=0; j<pModules->Count(); j++ ) for( sal_uInt16 j=0; j<pModules->Count(); j++ )
{ {
const SbModule *pModule = PTR_CAST( SbModule, pModules->Get(j) ); const SbModule *pModule = PTR_CAST( SbModule, pModules->Get(j) );
OSL_ENSURE( pModule, "Wo ist das Modul?" ); assert(pModule); //Wo ist das Modul?
if (!pModule)
continue;
OUString sLang(SVX_MACRO_LANGUAGE_STARBASIC); OUString sLang(SVX_MACRO_LANGUAGE_STARBASIC);
ScriptType eType = STARBASIC; ScriptType eType = STARBASIC;
......
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