diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-31 20:07:07 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-31 20:39:12 -0400 |
commit | 117e87ffda86623825b0a6715ed754e721c09200 (patch) | |
tree | 771e7ffdb10af7cfc32678b560d3ee8e9bb75e6a /sc/qa | |
parent | af8098f671bbe523700c5bedc78bfe6ac263496c (diff) |
Use 'e' prefix for enum values.
Change-Id: Iae3eceb38a6f9bc53805445799534ec8ee44a9a9
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/helper/csv_handler.hxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx index dbb68cd30ca8..8b4e54570c3f 100644 --- a/sc/qa/unit/helper/csv_handler.hxx +++ b/sc/qa/unit/helper/csv_handler.hxx @@ -93,14 +93,12 @@ enum StringType { PureString, FormulaValue, StringValue }; class csv_handler { public: - - - csv_handler(ScDocument* pDoc, SCTAB nTab, StringType aType = StringValue): + csv_handler(ScDocument* pDoc, SCTAB nTab, StringType eType = StringValue): mpDoc(pDoc), mnCol(0), mnRow(0), mnTab(nTab), - maStringType(aType) {} + meStringType(eType) {} void begin_parse() {} @@ -119,7 +117,7 @@ public: #if DEBUG_CSV_HANDLER std::cout << "Col: " << mnCol << " Row: " << mnRow << std::endl; #endif //DEBUG_CSV_HANDLER - if (maStringType == PureString) + if (meStringType == PureString) { rtl::OUString aCSVString(p, n, RTL_TEXTENCODING_UTF8); rtl::OUString aString; @@ -141,7 +139,7 @@ public: if (*pRemainingChars) { rtl::OUString aString; - switch (maStringType) + switch (meStringType) { case StringValue: mpDoc->GetString(mnCol, mnRow, mnTab, aString); @@ -174,7 +172,6 @@ public: } } ++mnCol; - } private: @@ -182,7 +179,7 @@ private: SCCOL mnCol; SCROW mnRow; SCTAB mnTab; - StringType maStringType; + StringType meStringType; }; |