summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_extension.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2017-01-10 06:03:26 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-10 06:03:26 -0800
commit3128d1c45d8bc313abb8aae151f86bbe62c52e56 (patch)
treedffc158fa0e9a4c17801b82063e9ba203daf979e /core/fxcrt/fx_extension.cpp
parent5e9066cbfa252b84d49f8b4adba445ba7761e81f (diff)
downloadpdfium-3128d1c45d8bc313abb8aae151f86bbe62c52e56.tar.xz
Remove more _LP* typedefs.
Code is much clearer when we use the actual types rather than this convention. Review-Url: https://codereview.chromium.org/2618993002
Diffstat (limited to 'core/fxcrt/fx_extension.cpp')
-rw-r--r--core/fxcrt/fx_extension.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcrt/fx_extension.cpp b/core/fxcrt/fx_extension.cpp
index ba82b9b7f0..f1e2583b40 100644
--- a/core/fxcrt/fx_extension.cpp
+++ b/core/fxcrt/fx_extension.cpp
@@ -652,13 +652,13 @@ void FX_Random_GenerateCrypto(uint32_t* pBuffer, int32_t iCount) {
}
#ifdef PDF_ENABLE_XFA
-void FX_GUID_CreateV4(FX_LPGUID pGUID) {
+static const FX_CHAR gs_FX_pHexChars[] = "0123456789ABCDEF";
+void FX_GUID_CreateV4(FX_GUID* pGUID) {
FX_Random_GenerateMT((uint32_t*)pGUID, 4);
uint8_t& b = ((uint8_t*)pGUID)[6];
b = (b & 0x0F) | 0x40;
}
-const FX_CHAR* gs_FX_pHexChars = "0123456789ABCDEF";
-void FX_GUID_ToString(FX_LPCGUID pGUID,
+void FX_GUID_ToString(const FX_GUID* pGUID,
CFX_ByteString& bsStr,
bool bSeparator) {
FX_CHAR* pBuf = bsStr.GetBuffer(40);