diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-03 22:45:31 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-04 22:40:26 -0400 |
commit | fa42b0d8382d1a509ff95a79dbd18787fd5b3735 (patch) | |
tree | b8e65005e183bba673627312fcc94f54f637722b /sc/inc/global.hxx | |
parent | 54673798f3b765a71c7f0080c6449625782c6a9b (diff) |
const correct ness etc & mutable only for lazy-initializing accessor.
Diffstat (limited to 'sc/inc/global.hxx')
-rw-r--r-- | sc/inc/global.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index ff4814d3ae03..cc8c0fde1028 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -766,15 +766,15 @@ struct ScQueryEntry ScQueryConnect eConnect; String* pStr; double nVal; - utl::SearchParam* pSearchParam; // if RegExp, not saved - utl::TextSearch* pSearchText; // if RegExp, not saved + mutable utl::SearchParam* pSearchParam; // if RegExp, not saved + mutable utl::TextSearch* pSearchText; // if RegExp, not saved ScQueryEntry(); ScQueryEntry(const ScQueryEntry& r); ~ScQueryEntry(); // creates pSearchParam and pSearchText if necessary, always RegExp! - utl::TextSearch* GetSearchTextPtr( bool bCaseSens ); + utl::TextSearch* GetSearchTextPtr( bool bCaseSens ) const; void Clear(); ScQueryEntry& operator=( const ScQueryEntry& r ); |