From 52998a4ce205708f6e00a007f3d1e57b24eb1c8b Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 7 Jun 2017 09:36:31 -0400 Subject: Even more CFGAS_FormatString tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ied2a169a3e7e9b178d746b04c67286d7a51fa635 Reviewed-on: https://pdfium-review.googlesource.com/6330 Commit-Queue: dsinclair Reviewed-by: Nicolás Peña --- xfa/fgas/crt/cfgas_formatstring.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xfa/fgas/crt/cfgas_formatstring.h') 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* 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); -- cgit v1.2.3