Kaydet (Commit) f4479f54 authored tarafından Noel Grandin's avatar Noel Grandin

simplify if condition

Change-Id: I11d49a1ca721c4bc9c9e35d2735bd66e5a9c04dd
üst 610b2b94
......@@ -2753,7 +2753,7 @@ void ScInputHandler::EnterHandler( sal_uInt8 nBlockMode )
{
// keine typographische Anfuehrungszeichen in Formeln
if (!aString.isEmpty() && aString[0] == '=')
if (aString.startsWith("="))
{
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