summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-04-14 20:22:56 +0200
committerEike Rathke <erack@redhat.com>2012-04-14 20:25:17 +0200
commitd3b74479a7d0f6f02c86e72be14ae3880726ce59 (patch)
tree6e0744e0dc5b9006d092e7d2dcfd2ff228b3bcde /sc
parent1e94b35b3d8d25636a5dc6ad99f81399617ad105 (diff)
fix orcus to not fiddle with literal strings
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/orcus/csv_parser.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/orcus/csv_parser.hpp b/sc/inc/orcus/csv_parser.hpp
index 3e52bc182ebb..77f8a3c3dd46 100644
--- a/sc/inc/orcus/csv_parser.hpp
+++ b/sc/inc/orcus/csv_parser.hpp
@@ -256,14 +256,14 @@ void csv_parser<_Handler>::quoted_cell()
}
// Closing quote.
- push_cell_value(p0, len-1);
+ m_handler.cell(p0, len-1);
next();
skip_blanks();
return;
}
// Stream ended prematurely. Handle it gracefully.
- push_cell_value(p0, len);
+ m_handler.cell(p0, len);
next();
skip_blanks();
}
@@ -309,7 +309,7 @@ void csv_parser<_Handler>::parse_cell_with_quote(const char* p0, size_t len0)
// buffer, push the value to the handler, and exit normally.
append_to_cell_buf(p_cur, cur_len);
- push_cell_value(&m_cell_buf[0], m_cell_buf_size);
+ m_handler.cell(&m_cell_buf[0], m_cell_buf_size);
next();
skip_blanks();
return;