summaryrefslogtreecommitdiffstats
path: root/sc/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-03-16 10:39:08 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-03-16 10:39:08 +0000
commit21585397c56f0c046994370f3e168d54cf230e8a (patch)
tree0949769bf695cc6fb2f0cf31cb1bc96793d3932f /sc/source
parentCWS-TOOLING: integrate CWS cmcfixes53 (diff)
downloadcore-21585397c56f0c046994370f3e168d54cf230e8a.tar.gz
core-21585397c56f0c046994370f3e168d54cf230e8a.zip
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/source')
-rw-r--r--sc/source/core/tool/reftokenhelper.cxx2
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;