diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-24 08:57:35 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-24 13:32:10 +0000 |
commit | c08dc39850188d96ad81f5800c7a51d2663eeb44 (patch) | |
tree | 9e132af2dd7989ea3375013c1109dd6dadb4cd55 /fpdfsdk/fxedit/fx_edit.h | |
parent | 677275efd05ce5dcbbd62f474db1f0a59e45cce8 (diff) | |
download | pdfium-c08dc39850188d96ad81f5800c7a51d2663eeb44.tar.xz |
Remove fx_edit.h
This CL moves GetPDFWordString to be a method on CFX_Edit. The
FX_EDIT_ISLATINWORD define is moved into fx_edit.h.
CFWL_Edit::FX_EDIT_ISLATINWORD is renamed to FxEditIsLatinWord to make
less confusing with the define.
Change-Id: I47d12d41447b268894a1d0376ac4b2bdb409e2df
Reviewed-on: https://pdfium-review.googlesource.com/8531
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fxedit/fx_edit.h')
-rw-r--r-- | fpdfsdk/fxedit/fx_edit.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/fpdfsdk/fxedit/fx_edit.h b/fpdfsdk/fxedit/fx_edit.h deleted file mode 100644 index 6c9166709c..0000000000 --- a/fpdfsdk/fxedit/fx_edit.h +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2014 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef FPDFSDK_FXEDIT_FX_EDIT_H_ -#define FPDFSDK_FXEDIT_FX_EDIT_H_ - -#include "core/fxcrt/fx_basic.h" - -class IPVT_FontMap; - -#define FX_EDIT_ISLATINWORD(u) \ - (u == 0x2D || (u <= 0x005A && u >= 0x0041) || \ - (u <= 0x007A && u >= 0x0061) || (u <= 0x02AF && u >= 0x00C0)) - -CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap, - int32_t nFontIndex, - uint16_t Word, - uint16_t SubWord); - -#endif // FPDFSDK_FXEDIT_FX_EDIT_H_ |