diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-28 22:42:59 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-09 11:13:27 -0500 |
commit | 68c1a73391ddfa4836ca51491ad7faee81132733 (patch) | |
tree | fbe5398c6eab17dc8470b9390495c5a2aefb2890 /sc/source/core/data/dpitemdata.cxx | |
parent | c7ad399a535d21cc73f0e99fbea361e559b34d4f (diff) |
mnDatePart in ScDPItemData not used in any meaningful way. Removed.
Diffstat (limited to 'sc/source/core/data/dpitemdata.cxx')
-rw-r--r-- | sc/source/core/data/dpitemdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx index 7a90038e3020..6583b4eb545b 100644 --- a/sc/source/core/data/dpitemdata.cxx +++ b/sc/source/core/data/dpitemdata.cxx @@ -115,7 +115,7 @@ bool ScDPItemData::operator==( const ScDPItemData& r ) const { if ( IsValue() ) { - if( (HasDatePart() != r.HasDatePart()) || (HasDatePart() && mnDatePart != r.mnDatePart) ) + if (HasDatePart() != r.HasDatePart()) return false; if ( IsDate() != r.IsDate() ) |