summaryrefslogtreecommitdiffstats
path: root/sc/inc/stringutil.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-12-30 12:16:35 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-12-30 12:33:28 -0500
commit9a623cdca281a682d39b423aefac392c2cc22cf7 (patch)
treed8c7222f148818b163b40f1d9302f821542415c8 /sc/inc/stringutil.hxx
parentDisallow direct access to member variables. (diff)
downloadcore-9a623cdca281a682d39b423aefac392c2cc22cf7.tar.gz
core-9a623cdca281a682d39b423aefac392c2cc22cf7.zip
Parse CSV lines in the reader thread.
Change-Id: I6329a0e6e6fa6576df2ed473482d558bfd6cce08
Diffstat (limited to 'sc/inc/stringutil.hxx')
-rw-r--r--sc/inc/stringutil.hxx3
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 );