Kaydet (Commit) 257521e7 authored tarafından Eike Rathke's avatar Eike Rathke

fixed out-of-bounds string access

Change-Id: I89e005f6f2d35e3343077b3b28e9fbb5135f9fff
üst 912d2363
......@@ -2753,7 +2753,7 @@ void ScInputHandler::EnterHandler( sal_uInt8 nBlockMode )
{
// keine typographische Anfuehrungszeichen in Formeln
if (aString[0] == '=')
if (!aString.isEmpty() && aString[0] == '=')
{
SvxAutoCorrect* pAuto = SvxAutoCorrCfg::Get().GetAutoCorrect();
if ( pAuto )
......
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