PVS: V560 A part of conditional expression is always true: bSuccess
Since
commit 217ef2ed9b
Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Date: Mon Jan 23 12:32:25 2023 +0900
pdfimport: refactor pdf and hybrid format detection code
Change-Id: Ib8bd09417eb07bd395b38a04245de30e8abda5a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177408
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
785a56b6be
commit
45a7c21ed8
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ OUString SAL_CALL PDFDetector::detect( uno::Sequence< beans::PropertyValue >& rF
|
|||
oslFileHandle aFileHandle = nullptr;
|
||||
|
||||
// check for hybrid PDF
|
||||
if (bSuccess && (aURL.isEmpty() || !comphelper::isFileUrl(aURL)))
|
||||
if (aURL.isEmpty() || !comphelper::isFileUrl(aURL))
|
||||
{
|
||||
if (osl_createTempFile(nullptr, &aFileHandle, &aURL.pData) != osl_File_E_None)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue