Skip to content

Commit 72424e9

Browse files
committed
fix(GooString): use std::string::size
Required for poppler rebase to 26.01.0 Reference: https://gitlab.freedesktop.org/poppler/poppler/-/commit/f6dcd06445b6b7795b4c8f654206c5aef3d79100
1 parent 7078af4 commit 72424e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Applications/Cxx/gdcminfo.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uM
297297
isUnicode = false;
298298
i = 0;
299299
}
300-
while (i < obj.getString()->getLength())
300+
while (i < obj.getString()->size())
301301
{
302302
if (isUnicode)
303303
{

Applications/Cxx/gdcmpdf.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uM
148148
isUnicode = false;
149149
i = 0;
150150
}
151-
while (i < obj.getString()->getLength())
151+
while (i < obj.getString()->size())
152152
{
153153
if (isUnicode)
154154
{

0 commit comments

Comments
 (0)