diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2009-12-15 13:02:04 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2009-12-15 13:02:04 +0100 |
commit | 50e1b982ff532184892b63dd2634571b2ef6ce8e (patch) | |
tree | c65718feb909f9cc39f3223d5ab8e16b05764859 /sc | |
parent | 5f1d2a795de996227efe6e6b4288909f85e6b3e2 (diff) | |
parent | 1b5acf308480c738ddafc97b720f54446436de5b (diff) |
CWS-TOOLING: integrate CWS jl146_DEV300
Notes
Notes:
split repo tag: calc_ooo/DEV300_m68
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/address.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx index 259018e213ce..4cf317073b56 100644 --- a/sc/source/core/tool/address.cxx +++ b/sc/source/core/tool/address.cxx @@ -365,7 +365,10 @@ const sal_Unicode* ScRange::Parse_XL_Header( { p = lcl_ParseQuotedName(p, rExternDocName); if (!*p || *p != ']' || !rExternDocName.Len()) + { + rExternDocName.Erase(); return start; + } } else { @@ -418,7 +421,10 @@ const sal_Unicode* ScRange::Parse_XL_Header( // Excel does not allow [ and ] characters in sheet names though. p = lcl_ParseQuotedName(p, rExternDocName); if (!*p || *p != '!') + { + rExternDocName.Erase(); return start; + } if (rExternDocName.Len()) { xub_StrLen nOpen = rExternDocName.Search( '['); |