summaryrefslogtreecommitdiff
path: root/sc/inc/lookupcache.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 12:18:47 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 22:40:28 -0400
commita917af4fe40faf5a7538b0bf852796949192787d (patch)
tree9652d5c32f7b20f50bce257f989d6768fc16070e /sc/inc/lookupcache.hxx
parent9dd9e4baccc4009be524f6ab3070e7458138d82d (diff)
More on avoiding direct access to pStr, also fixed several memory leaks.
Diffstat (limited to 'sc/inc/lookupcache.hxx')
-rw-r--r--sc/inc/lookupcache.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/lookupcache.hxx b/sc/inc/lookupcache.hxx
index 01ab42522b8f..cdf3b420f2b5 100644
--- a/sc/inc/lookupcache.hxx
+++ b/sc/inc/lookupcache.hxx
@@ -110,7 +110,7 @@ public:
DBG_ERRORFILE( "ScLookupCache::QueryCriteria not prepared for this ScQueryOp");
}
if (rEntry.bQueryByString)
- setString( rEntry.pStr);
+ setString(rEntry.GetQueryString());
else
setDouble( rEntry.nVal);
}