summaryrefslogtreecommitdiff
path: root/xfa/src/fgas
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-12-04 10:10:34 -0800
committerTom Sepez <tsepez@chromium.org>2014-12-04 10:10:34 -0800
commitdf448f5c421440c8884c87da6055c0b5cc62c5ca (patch)
tree6f15d3c7e65360ec430672d8ad851d158e333c25 /xfa/src/fgas
parent553efe2b5cf65959fa1e547ebb66ffc60b678028 (diff)
downloadpdfium-df448f5c421440c8884c87da6055c0b5cc62c5ca.tar.xz
Remove needless casts of (narrow) string literals.
Follow-up to work on (wide) string literals. R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/751113003
Diffstat (limited to 'xfa/src/fgas')
-rw-r--r--xfa/src/fgas/src/font/fx_stdfontmgr.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/src/fgas/src/font/fx_stdfontmgr.cpp b/xfa/src/fgas/src/font/fx_stdfontmgr.cpp
index ae59cab2e5..7f153b16d3 100644
--- a/xfa/src/fgas/src/font/fx_stdfontmgr.cpp
+++ b/xfa/src/fgas/src/font/fx_stdfontmgr.cpp
@@ -467,16 +467,16 @@ FX_LPEnumAllFonts FX_GetDefFontEnumerator()
#else
FX_LPCSTR g_FontFolders[] = {
#if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
- (FX_LPCSTR)"/usr/share/fonts",
- (FX_LPCSTR)"/usr/share/X11/fonts/Type1",
- (FX_LPCSTR)"/usr/share/X11/fonts/TTF",
- (FX_LPCSTR)"/usr/local/share/fonts",
+ "/usr/share/fonts",
+ "/usr/share/X11/fonts/Type1",
+ "/usr/share/X11/fonts/TTF",
+ "/usr/local/share/fonts",
#elif _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
- (FX_LPCSTR)"~/Library/Fonts",
- (FX_LPCSTR)"/Library/Fonts",
- (FX_LPCSTR)"/System/Library/Fonts",
+ "~/Library/Fonts",
+ "/Library/Fonts",
+ "/System/Library/Fonts",
#elif _FXM_PLATFORM_ == _FXM_PLATFORM_ANDROID_
- (FX_LPCSTR)"/system/fonts",
+ "/system/fonts",
#endif
};
CFX_FontSourceEnum_File::CFX_FontSourceEnum_File()