summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-07-07 01:45:41 +0200
committerEike Rathke <erack@redhat.com>2015-07-07 12:40:30 +0200
commitd24c6a0280b0287ee6c23ca89068323c6b7c3dd7 (patch)
treee33dc7b5eb306db3842d21c73548cb2df6b176ec
parent3b355fca41dcfc94809fcdbbf31234a6abf86444 (diff)
always justify a referenced range in order, tdf#92468
Change-Id: Id69c58800d28f1733777f7931a20d8ee7bdf034f
-rw-r--r--sc/source/core/tool/interpr4.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index e9612a5d8bb3..72e0ce1cd5db 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -1308,6 +1308,7 @@ void ScInterpreter::DoubleRefToRange( const ScComplexRefData & rCRef,
rRange.aStart.Set( nCol, nRow, nTab );
SingleRefToVars( rCRef.Ref2, nCol, nRow, nTab);
rRange.aEnd.Set( nCol, nRow, nTab );
+ rRange.Justify();
if (! pDok->aTableOpList.empty() && !bDontCheckForTableOp )
{
if ( IsTableOpInRange( rRange ) )