Kaydet (Commit) d05918d4 authored tarafından Caolán McNamara's avatar Caolán McNamara

aStr[0] on an empty string is newly disallowed

Change-Id: I0494f06ec8709fdf33ace6772823d7b986ff5847
üst 266e9392
...@@ -2069,7 +2069,7 @@ bool ScInputHandler::StartTable( sal_Unicode cTyped, bool bFromCommand, bool bIn ...@@ -2069,7 +2069,7 @@ bool ScInputHandler::StartTable( sal_Unicode cTyped, bool bFromCommand, bool bIn
if ( bAutoComplete ) if ( bAutoComplete )
GetColData(); GetColData();
if ( ( aStr[0] == '=' || aStr[0] == '+' || aStr[0] == '-' ) && if ( !aStr.isEmpty() && ( aStr[0] == '=' || aStr[0] == '+' || aStr[0] == '-' ) &&
!cTyped && !bCreatingFuncView ) !cTyped && !bCreatingFuncView )
InitRangeFinder(aStr); // Formel wird editiert -> RangeFinder InitRangeFinder(aStr); // Formel wird editiert -> RangeFinder
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment