summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-25 20:40:04 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-25 20:55:17 -0500
commit5706ff70dbb18d03e396fd484bd1392dbcefb6c7 (patch)
tree5130622ab8bf63d5e94950ba7b066f7e585710b9 /sc/inc
parent5bba4c56d2d0a57725b3bc97a3bb8b13a727fa9f (diff)
fdo#72041: Intern strings as we populate the external cache.
This commit covers ods import and UNO API layer. Change-Id: I3ad1b7cfefe49575694e2351bcba6e5733b009d2
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/linkuno.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx
index aa6a2dcf0752..e079e75db655 100644
--- a/sc/inc/linkuno.hxx
+++ b/sc/inc/linkuno.hxx
@@ -502,7 +502,7 @@ public:
class ScExternalSheetCacheObj : public cppu::WeakImplHelper1< ::com::sun::star::sheet::XExternalSheetCache >
{
public:
- explicit ScExternalSheetCacheObj(ScExternalRefCache::TableTypeRef pTable, size_t nIndex);
+ explicit ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef pTable, size_t nIndex);
~ScExternalSheetCacheObj();
// XExternalSheetCache
@@ -528,6 +528,7 @@ private:
ScExternalSheetCacheObj(const ScExternalSheetCacheObj&);
private:
+ ScDocShell* mpDocShell;
ScExternalRefCache::TableTypeRef mpTable;
size_t mnIndex;
};
@@ -535,7 +536,7 @@ private:
class ScExternalDocLinkObj : public cppu::WeakImplHelper1< ::com::sun::star::sheet::XExternalDocLink >
{
public:
- ScExternalDocLinkObj(ScExternalRefManager* pRefMgr, sal_uInt16 nFileId);
+ ScExternalDocLinkObj(ScDocShell* pDocShell, ScExternalRefManager* pRefMgr, sal_uInt16 nFileId);
~ScExternalDocLinkObj();
// XExternalDocLink
@@ -574,6 +575,7 @@ public:
throw (::com::sun::star::uno::RuntimeException);
private:
+ ScDocShell* mpDocShell;
ScExternalRefManager* mpRefMgr;
sal_uInt16 mnFileId;
};