summaryrefslogtreecommitdiff
path: root/core/fpdftext/cpdf_textpage.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-30 21:15:33 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-30 21:15:33 +0000
commitcbfcffdac2ba600cd612f2ec5aee61bc6a1ec504 (patch)
tree9151de607ac1c52bc57ca1a181bd2b124e49f7a6 /core/fpdftext/cpdf_textpage.h
parentda65a8ea74d2748c93015fb5521da678e29e6548 (diff)
downloadpdfium-cbfcffdac2ba600cd612f2ec5aee61bc6a1ec504.tar.xz
Fix some nits in CPDF_TextPage.
Change-Id: Ib0b1d014af31493c73a74d81c1f3454a203da949 Reviewed-on: https://pdfium-review.googlesource.com/31655 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_textpage.h')
-rw-r--r--core/fpdftext/cpdf_textpage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdftext/cpdf_textpage.h b/core/fpdftext/cpdf_textpage.h
index aa244b8dea..fcf99c26dd 100644
--- a/core/fpdftext/cpdf_textpage.h
+++ b/core/fpdftext/cpdf_textpage.h
@@ -154,8 +154,8 @@ class CPDF_TextPage {
void ProcessMarkedContent(PDFTEXT_Obj pObj);
void CheckMarkedContentObject(int32_t* pStart, int32_t* pCount) const;
void FindPreviousTextObject();
- void AddCharInfoByLRDirection(wchar_t wChar, PAGECHAR_INFO info);
- void AddCharInfoByRLDirection(wchar_t wChar, PAGECHAR_INFO info);
+ void AddCharInfoByLRDirection(wchar_t wChar, const PAGECHAR_INFO& info);
+ void AddCharInfoByRLDirection(wchar_t wChar, const PAGECHAR_INFO& info);
TextOrientation GetTextObjectWritingMode(
const CPDF_TextObject* pTextObj) const;
TextOrientation FindTextlineFlowOrientation() const;