diff options
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/goo/GooString.h')
-rw-r--r-- | Build/source/libs/poppler/poppler-src/goo/GooString.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/libs/poppler/poppler-src/goo/GooString.h b/Build/source/libs/poppler/poppler-src/goo/GooString.h index a37e02ab6eb..5deeda7e870 100644 --- a/Build/source/libs/poppler/poppler-src/goo/GooString.h +++ b/Build/source/libs/poppler/poppler-src/goo/GooString.h @@ -21,7 +21,7 @@ // Copyright (C) 2012-2014 Fabio D'Urso <fabiodurso@hotmail.it> // Copyright (C) 2013 Jason Crain <jason@aquaticape.us> // Copyright (C) 2015 Adam Reichold <adam.reichold@t-online.de> -// Copyright (C) 2016 Jakub Kucharski <jakubkucharski97@gmail.com> +// Copyright (C) 2016 Jakub Alba <jakubalba@gmail.com> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -175,7 +175,8 @@ public: // Return true if string ends with suffix GBool endsWith(const char *suffix) const; - GBool hasUnicodeMarker(void); + GBool hasUnicodeMarker(void) const; + GBool hasJustUnicodeMarker(void) const { return length == 2 && hasUnicodeMarker(); } // Sanitizes the string so that it does // not contain any ( ) < > [ ] { } / % |