summaryrefslogtreecommitdiffstats
path: root/sc/inc/externalrefmgr.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-11 17:38:24 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-11 17:39:45 -0500
commitb17c7cb5a26ef58037af4624da1049ec9cdf2579 (patch)
tree6ebf71f18f0943127b96e08d2ddacfa7af12715c /sc/inc/externalrefmgr.hxx
parentRemove commented code (diff)
downloadcore-b17c7cb5a26ef58037af4624da1049ec9cdf2579.tar.gz
core-b17c7cb5a26ef58037af4624da1049ec9cdf2579.zip
Properly cache range data from in-memory documents.
Failure to do this resulted in referenced external range data not being saved to the document. This change fixes this.
Diffstat (limited to 'sc/inc/externalrefmgr.hxx')
-rw-r--r--sc/inc/externalrefmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index 84509006645a..10000a65817b 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -251,7 +251,7 @@ public:
ScMatrixRef mpRangeData;
};
void setCellRangeData(sal_uInt16 nFileId, const ScRange& rRange, const ::std::vector<SingleRangeData>& rData,
- TokenArrayRef pArray);
+ const TokenArrayRef& pArray);
bool isDocInitialized(sal_uInt16 nFileId);
void initializeDoc(sal_uInt16 nFileId, const ::std::vector<String>& rTabNames);