diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-20 13:14:55 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-20 13:44:43 -0400 |
commit | 426708e70807e052aca2ec16314c103b1d2a0439 (patch) | |
tree | a39b1475913c7d21cb330333cb26668fcf7983b9 /sc/inc/compare.hxx | |
parent | 013abfd29b125f8a049691c064bdae1db4d5880f (diff) |
Reduce branching in CompareMatrix(). This makes a big difference.
Change-Id: I391e889a50864ae002e85d636b767d7c6f187a23
Diffstat (limited to 'sc/inc/compare.hxx')
-rw-r--r-- | sc/inc/compare.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx index f428d9057f46..5f9e1585ca28 100644 --- a/sc/inc/compare.hxx +++ b/sc/inc/compare.hxx @@ -66,6 +66,9 @@ private: NULL means case sensitivity document option is to be used! */ double CompareFunc( const Compare::Cell& rCell1, const Compare::Cell& rCell2, bool bIgnoreCase, CompareOptions* pOptions = NULL ); +double CompareFunc( double fCell1, const Compare::Cell& rCell2, CompareOptions* pOptions = NULL ); +double CompareFunc( const Compare::Cell& rCell1, double fCell2, CompareOptions* pOptions = NULL ); +double CompareFunc( double fCell1, double fCell2 ); } |