diff options
author | Eike Rathke <erack@redhat.com> | 2015-04-08 19:07:50 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-04-08 20:45:48 +0200 |
commit | a83c3227919ea6467cd4eee5464d73b24120a440 (patch) | |
tree | 248d7ad88fbe73bd4486bb1eaf0119d7f096a3d7 /sc | |
parent | 706727932e73a6899bfd820bf56aa691c956bd84 (diff) |
TableRef: both column range rows must be table range top row
Change-Id: I82fcb95c972defde4a854d4c4cce80e6e561bc92
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index f3c1155147c5..791a9a3b7481 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -4940,7 +4940,7 @@ bool ScCompiler::HandleTableRef() default: ; // nothing } - if (aColRange.aStart.Row() != aRange.aStart.Row() && aColRange.aEnd.Row() != aRange.aStart.Row()) + if (aColRange.aStart.Row() != aRange.aStart.Row() || aColRange.aEnd.Row() != aRange.aStart.Row()) aRange = ScRange( ScAddress::INITIALIZE_INVALID); else { |