diff options
author | Eike Rathke <erack@redhat.com> | 2013-11-18 23:12:37 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-11-18 23:13:34 +0100 |
commit | 257521e7092848793bf2538780468d95ccb69331 (patch) | |
tree | a93196474676833b369c8de731762468a1d97371 /sc | |
parent | 912d23636a55473221e3e35768fb9ac42c3e9b76 (diff) |
fixed out-of-bounds string access
Change-Id: I89e005f6f2d35e3343077b3b28e9fbb5135f9fff
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index ad51f493ce89..05de58519ca5 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -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 ) |