diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-03-08 13:44:37 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-03-08 13:44:37 -0500 |
commit | 24f9819c52b59822a8935ead4381fff3d884fad1 (patch) | |
tree | 86a116981233bc14cf59abb83d84c47f230e5b58 /sc/inc/externalrefmgr.hxx | |
parent | 78036c811676c318c05883f6033dff867f80da6f (diff) |
koheiextref01: #i109101# Fixed incorrect parsing of cached string cell values.
The xml parser tends to break text into multiple pieces in presence of '#'.
The original code only picked up the last piece of the set, which truncated the
stored cache value. We should pick up all the fragments during the import.
Diffstat (limited to 'sc/inc/externalrefmgr.hxx')
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index f6e7b1792f60..f251875b35ea 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -152,6 +152,13 @@ public: Table(); ~Table(); + /** + * Add cell value to the cache. + * + * @param bSetCacheRange if true, mark this cell 'cached'. This is + * false _only when_ adding a range of cell + * values, for performance reasons. + */ SC_DLLPUBLIC void setCell(SCCOL nCol, SCROW nRow, TokenRef pToken, sal_uInt32 nFmtIndex = 0, bool bSetCacheRange = true); TokenRef getCell(SCCOL nCol, SCROW nRow, sal_uInt32* pnFmtIndex = NULL) const; bool hasRow( SCROW nRow ) const; |