coverity#982460: Explicit null dereferenced
Change-Id: I64d559603bff0d618dce72927566531296984d3c Reviewed-on: https://gerrit.libreoffice.org/3823 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
This commit is contained in:
@@ -381,11 +381,10 @@ XRMResMerge::XRMResMerge(
|
||||
sFilename( rFilename ) ,
|
||||
pResData( NULL )
|
||||
{
|
||||
if (!rMergeSource.isEmpty())
|
||||
if (!rMergeSource.isEmpty() && sLanguage.equalsIgnoreAsciiCase("ALL"))
|
||||
{
|
||||
pMergeDataFile = new MergeDataFile(
|
||||
rMergeSource, sInputFileName, false);
|
||||
if( sLanguage.equalsIgnoreAsciiCase("ALL") )
|
||||
{
|
||||
aLanguages = pMergeDataFile->GetLanguages();
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user