summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-11-21 22:55:11 +0100
committerEike Rathke <erack@redhat.com>2016-11-21 22:55:58 +0100
commit8846cc2218091aa2af8ee3aadd81fd8a80e3b303 (patch)
treec768c06dd59f1e0bc49189f86acb3d4bfd0a63ff /sc
parent3ec6de78f62a068b185068886d1beb8d287ddabe (diff)
Resolves: tdf#104096 reset also rRawRes if trailing characters are present
... in lcl_ScAddress_Parse_OOo() so that ScRange::Parse() doesn't receive a "partially valid" result and does not attempt to follow the entire column/row path. Change-Id: Ie37c9d22280e30f770422fb621e3b9d972ec1546
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/address.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index 2636f3462d7d..2d73e448f972 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1439,7 +1439,7 @@ static ScRefFlags lcl_ScAddress_Parse_OOo( const sal_Unicode* p, ScDocument* pDo
nRes |= ScRefFlags::VALID;
}
else
- nRes = nBailOutFlags;
+ nRes = rRawRes = nBailOutFlags;
return nRes;
}