diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-06-07 09:36:31 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-07 13:48:30 +0000 |
commit | 52998a4ce205708f6e00a007f3d1e57b24eb1c8b (patch) | |
tree | edb693bd9ea5c08fd9379345f476a85b797ac6d1 /xfa/fgas/crt/cfgas_formatstring.h | |
parent | d9d6c29879780db829694d0023a377581bbc9769 (diff) | |
download | pdfium-52998a4ce205708f6e00a007f3d1e57b24eb1c8b.tar.xz |
Even more CFGAS_FormatString tests.
Change-Id: Ied2a169a3e7e9b178d746b04c67286d7a51fa635
Reviewed-on: https://pdfium-review.googlesource.com/6330
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fgas/crt/cfgas_formatstring.h')
-rw-r--r-- | xfa/fgas/crt/cfgas_formatstring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fgas/crt/cfgas_formatstring.h b/xfa/fgas/crt/cfgas_formatstring.h index 87252f472e..c91f43598e 100644 --- a/xfa/fgas/crt/cfgas_formatstring.h +++ b/xfa/fgas/crt/cfgas_formatstring.h @@ -25,6 +25,7 @@ class CFGAS_FormatString { void SplitFormatString(const CFX_WideString& wsFormatString, std::vector<CFX_WideString>* wsPatterns); FX_LOCALECATEGORY GetCategory(const CFX_WideString& wsPattern); + bool ParseText(const CFX_WideString& wsSrcText, const CFX_WideString& wsPattern, CFX_WideString* wsValue); @@ -39,6 +40,7 @@ class CFGAS_FormatString { const CFX_WideString& wsPattern); bool ParseNull(const CFX_WideString& wsSrcText, const CFX_WideString& wsPattern); + bool FormatText(const CFX_WideString& wsSrcText, const CFX_WideString& wsPattern, CFX_WideString* wsOutput); |