Commit 113d5b4c authored by Oleg Korshul's avatar Oleg Korshul

refactoring

parent d3461dd3
......@@ -1837,6 +1837,8 @@ namespace PdfReader
oBase64.Encode((unsigned char *)seBuffer->GetBuffer(), seBuffer->GetLength());
oXmlWriter.WriteString(AStringToWString(oBase64.GetCString()));
oXmlWriter.WriteNodeEnd(L"ToUnicode");
delete seBuffer;
}
oDictItem.Free();
......@@ -1940,6 +1942,8 @@ namespace PdfReader
oXmlWriter.WriteString(AStringToWString(oBase64.GetCString()));
oXmlWriter.WriteNodeEnd(L"UseCMap");
delete seBuffer;
}
oEncItem.Free();
}
......@@ -1958,6 +1962,8 @@ namespace PdfReader
oXmlWriter.WriteString(AStringToWString(oBase64.GetCString()));
oXmlWriter.WriteNodeEnd(L"Stream");
oXmlWriter.WriteNodeEnd(L"Encoding");
delete seBuffer;
}
oDictItem.Free();
......@@ -2368,6 +2374,8 @@ namespace PdfReader
oXmlWriter.WriteString(AStringToWString(oBase64.GetCString()));
oXmlWriter.WriteNodeEnd(L"CIDToGIDMap");
delete seBuffer;
}
oFontItem.Free();
......
......@@ -605,7 +605,7 @@ namespace PdfReader
double dTemp = 0;
int nInt;
if ((bNegative = dValue < 0))
if (bNegative = (dValue < 0))
dValue = -dValue;
dValue = floor(dValue * pow((double)10, nPrecision) + 0.5);
......
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