diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-19 22:09:25 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-20 13:44:42 -0400 |
commit | 013abfd29b125f8a049691c064bdae1db4d5880f (patch) | |
tree | bb0ae3704a35da1853d97146df047c9ade230185 /sc/inc/compare.hxx | |
parent | Try not to use array index access here... (diff) | |
download | core-013abfd29b125f8a049691c064bdae1db4d5880f.tar.gz core-013abfd29b125f8a049691c064bdae1db4d5880f.zip |
Pass cells to CompareFunc, rather than the whole Compare struct.
Change-Id: I4d5554fc5783b123aa0f90b7c078e1fc0f0cd866
Diffstat (limited to 'sc/inc/compare.hxx')
-rw-r--r-- | sc/inc/compare.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx index d188d540b896..f428d9057f46 100644 --- a/sc/inc/compare.hxx +++ b/sc/inc/compare.hxx @@ -53,7 +53,6 @@ struct CompareOptions ScQueryEntry aQueryEntry; bool bRegEx; bool bMatchWholeCell; - bool bIgnoreCase; CompareOptions( ScDocument* pDoc, const ScQueryEntry& rEntry, bool bReg ); private: @@ -66,7 +65,7 @@ private: /** @param pOptions NULL means case sensitivity document option is to be used! */ -double CompareFunc( const Compare& rComp, CompareOptions* pOptions = NULL ); +double CompareFunc( const Compare::Cell& rCell1, const Compare::Cell& rCell2, bool bIgnoreCase, CompareOptions* pOptions = NULL ); } |