summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_pagelabel.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-11-23 05:52:39 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-23 05:52:39 -0800
commit733e068e077bb59597180bc9b8ff934dd125ffdc (patch)
treea174a02225f1c42933605d516324dc8d0bdd42b8 /core/fpdfdoc/cpdf_pagelabel.h
parent1a7534a1a477323f7b8497e359f6af6e9bd54cd5 (diff)
downloadpdfium-733e068e077bb59597180bc9b8ff934dd125ffdc.tar.xz
Add API for getting page labels.
BUG=pdfium:479 Review-Url: https://codereview.chromium.org/2521843003
Diffstat (limited to 'core/fpdfdoc/cpdf_pagelabel.h')
-rw-r--r--core/fpdfdoc/cpdf_pagelabel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_pagelabel.h b/core/fpdfdoc/cpdf_pagelabel.h
index 6a0664bfca..0f91f614d9 100644
--- a/core/fpdfdoc/cpdf_pagelabel.h
+++ b/core/fpdfdoc/cpdf_pagelabel.h
@@ -15,7 +15,7 @@ class CPDF_PageLabel {
public:
explicit CPDF_PageLabel(CPDF_Document* pDocument);
- CFX_WideString GetLabel(int nPage) const;
+ bool GetLabel(int nPage, CFX_WideString* wsLabel) const;
int32_t GetPageByLabel(const CFX_ByteStringC& bsLabel) const;
int32_t GetPageByLabel(const CFX_WideStringC& wsLabel) const;