diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2009-03-16 10:39:08 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2009-03-16 10:39:08 +0000 |
commit | 21585397c56f0c046994370f3e168d54cf230e8a (patch) | |
tree | 0949769bf695cc6fb2f0cf31cb1bc96793d3932f /sc | |
parent | f91cf304d11cb63c49982e15a8f388e9127645bc (diff) |
CWS-TOOLING: integrate CWS chartranges_DEV300
2009-03-04 08:33:56 +0100 hde r268783 : #99762#
2009-03-02 16:31:38 +0100 nn r268665 : #i99762# overlaps: disjoint to one side means no overlap
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/reftokenhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/reftokenhelper.cxx b/sc/source/core/tool/reftokenhelper.cxx index 727fa1ebdf22..42cf295390d6 100644 --- a/sc/source/core/tool/reftokenhelper.cxx +++ b/sc/source/core/tool/reftokenhelper.cxx @@ -288,7 +288,7 @@ private: { bool bDisjoint1 = (nMin1 > nMax2) && (nMin1 - nMax2 > 1); bool bDisjoint2 = (nMin2 > nMax1) && (nMin2 - nMax1 > 1); - if (bDisjoint1 && bDisjoint2) + if (bDisjoint1 || bDisjoint2) // These two ranges cannot be joined. Move on. return false; |