Fix bug 76352

This commit is contained in:
Svetlana Kulikova
2025-10-03 10:59:02 +03:00
parent a306faf286
commit 7a8f926852
3 changed files with 37 additions and 3 deletions

View File

@ -976,6 +976,8 @@ bool GetFromBase64(const std::wstring& sPath, BYTE** pBuffer, int* nBufferLen)
if (!NSBase64::Base64Decode((const char*)pFileContent, dwFileSize, *pBuffer, nBufferLen))
return false;
}
else
return false;
oFile.CloseFile();
return true;
}
@ -1137,7 +1139,7 @@ int main(int argc, char* argv[])
BYTE* pColor = new BYTE[12] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
// REDACT
if (true)
if (false)
{
int pRect[4] = { 307499, 217499, 1799999, 1124999 };
if (!RedactPage(pGrFile, nTestPage, pRect, 1, pColor, 12))