diff options
Diffstat (limited to 'sc/inc/autonamecache.hxx')
-rw-r--r-- | sc/inc/autonamecache.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/autonamecache.hxx b/sc/inc/autonamecache.hxx index 3be8f87c922a..2f76b6d1e04b 100644 --- a/sc/inc/autonamecache.hxx +++ b/sc/inc/autonamecache.hxx @@ -32,11 +32,11 @@ typedef std::unordered_map< OUString, ScAutoNameAddresses > ScAutoNameHashMap; class SC_DLLPUBLIC ScAutoNameCache { ScAutoNameHashMap aNames; - ScDocument* pDoc; + ScDocument& rDoc; SCTAB nCurrentTab; public: - ScAutoNameCache( ScDocument* pD ); + ScAutoNameCache( ScDocument& pD ); ~ScAutoNameCache(); const ScAutoNameAddresses& GetNameOccurrences( const OUString& rName, SCTAB nTab ); |