diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-30 12:16:35 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-30 12:33:28 -0500 |
commit | 9a623cdca281a682d39b423aefac392c2cc22cf7 (patch) | |
tree | d8c7222f148818b163b40f1d9302f821542415c8 /sc/inc/stringutil.hxx | |
parent | 3ccb783be184102075fe1f9814f05e85d4968c32 (diff) |
Parse CSV lines in the reader thread.
Change-Id: I6329a0e6e6fa6576df2ed473482d558bfd6cce08
Diffstat (limited to 'sc/inc/stringutil.hxx')
-rw-r--r-- | sc/inc/stringutil.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/stringutil.hxx b/sc/inc/stringutil.hxx index 08e5c1ed0314..d27500763033 100644 --- a/sc/inc/stringutil.hxx +++ b/sc/inc/stringutil.hxx @@ -126,6 +126,9 @@ public: static bool parseSimpleNumber( const OUString& rStr, sal_Unicode dsep, sal_Unicode gsep, double& rVal); + static bool parseSimpleNumber( + const char* p, size_t n, char dsep, char gsep, double& rVal); + static sal_Int32 SC_DLLPUBLIC GetQuotedTokenCount(const OUString &rIn, const OUString& rQuotedPairs, sal_Unicode cTok = ';' ); static OUString SC_DLLPUBLIC GetQuotedToken(const OUString &rIn, sal_Int32 nToken, const OUString& rQuotedPairs, sal_Unicode cTok, sal_Int32& rIndex ); |