From 1d9ddfd6b0759a4bcabe33c1400be455e86b3051 Mon Sep 17 00:00:00 2001 From: luoliangyi <87842688@qq.com> Date: Tue, 9 Aug 2022 13:48:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/imgfmt/HGPdfImpl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/imgfmt/HGPdfImpl.cpp b/modules/imgfmt/HGPdfImpl.cpp index e84ea860..3c27d46a 100644 --- a/modules/imgfmt/HGPdfImpl.cpp +++ b/modules/imgfmt/HGPdfImpl.cpp @@ -1,6 +1,7 @@ #include "HGPdfImpl.hpp" #include "../base/HGInc.h" #include "../base/HGUtility.h" +#include "../base/HGInfo.h" #include "HGString.h" #include #include @@ -74,6 +75,7 @@ HGResult HGPdfReaderImpl::Open(const HGChar* fileName) HGResult ret = HGBase_CreateDll(dllPath, &m_dll); if (HGBASE_ERR_OK != ret) { + HGBase_WriteInfo(HGBASE_INFOTYPE_DESC, "Load PDF Library Failed, path=%s", dllPath); return ret; } @@ -571,6 +573,7 @@ HGResult HGPdfImageWriterImpl::Open(const HGChar* fileName) HGResult ret = HGBase_CreateDll(dllPath, &m_dll); if (HGBASE_ERR_OK != ret) { + HGBase_WriteInfo(HGBASE_INFOTYPE_DESC, "Load PDF Library Failed, path=%s", dllPath); return ret; }