summaryrefslogtreecommitdiff
path: root/glib/poppler-attachment.cc
diff options
context:
space:
mode:
authorOliver Sander <oliver.sander@tu-dresden.de>2018-11-09 18:42:04 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2018-11-11 22:07:02 +0000
commit817b0f12453985c416a0388cdd4a09697d092b7f (patch)
tree10c369ab08ee87097a9691daa0633cbc8a92a4da /glib/poppler-attachment.cc
parentfb7f34b1f9706c4912384eabd5dbf44b6c88c71d (diff)
Rename GooString::getCString GooString::c_str
This is the name used by std::string.
Diffstat (limited to 'glib/poppler-attachment.cc')
-rw-r--r--glib/poppler-attachment.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/poppler-attachment.cc b/glib/poppler-attachment.cc
index b2677f2c..dd7064bf 100644
--- a/glib/poppler-attachment.cc
+++ b/glib/poppler-attachment.cc
@@ -115,7 +115,7 @@ _poppler_attachment_new (FileSpec *emb_file)
_poppler_convert_pdf_date_to_gtime (embFile->modDate (), (time_t *)&attachment->mtime);
if (embFile->checksum () && embFile->checksum ()->getLength () > 0)
- attachment->checksum = g_string_new_len (embFile->checksum ()->getCString (),
+ attachment->checksum = g_string_new_len (embFile->checksum ()->c_str (),
embFile->checksum ()->getLength ());
priv->obj_stream = embFile->streamObject()->copy();
}