[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. 16c970f76ce173b36a53a55923bdd53b3a
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2018-10-22 12:08:16
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, release has been updated
via 16c970f76ce173b36a53a55923bdd53b3ae7e851 (commit)
from 541996c23ef01d6b48d8886552e2578c06ca28c1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/16c970f76ce173b36a53a55923bdd53b3ae7e851/
commit 16c970f76ce173b36a53a55923bdd53b3ae7e851
Author: Mathieu Malaterre <mat...@gm...>
Date: Mon Oct 22 14:07:14 2018 +0200
really fix poppler
diff --git a/Applications/Cxx/gdcmpdf.cxx b/Applications/Cxx/gdcmpdf.cxx
index 92caad7be..b3f22b520 100644
--- a/Applications/Cxx/gdcmpdf.cxx
+++ b/Applications/Cxx/gdcmpdf.cxx
@@ -37,7 +37,7 @@
static std::string getInfoDate(Dict *infoDict, const char *key)
{
Object obj;
- char *s;
+ const char *s;
int year, mon, day, hour, min, sec, n;
struct tm tmStruct;
//char buf[256];
@@ -49,7 +49,8 @@ static std::string getInfoDate(Dict *infoDict, const char *key)
if (infoDict->lookup((char*)key, &obj)->isString())
#endif
{
- s = obj.getString()->getCString();
+ const GooString* gs = obj.getString();
+ s = gs->getCString();
if (s[0] == 'D' && s[1] == ':')
{
s += 2;
@@ -104,7 +105,7 @@ static std::string getInfoDate(Dict *infoDict, const char *key)
static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uMap, GBool & unicode)
{
Object obj;
- GooString *s1;
+ const GooString *s1;
GBool isUnicode = gFalse;
Unicode u;
char buf[8];
-----------------------------------------------------------------------
Summary of changes:
Applications/Cxx/gdcmpdf.cxx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|