missing pointer check in new multiline input code, fdo#43856

This commit is contained in:
Markus Mohrhard 2011-12-26 14:55:45 +01:00
parent ee154f70a1
commit b12191787a

View file

@ -3413,7 +3413,7 @@ void ScInputHandler::NotifyChange( const ScInputHdlState* pState,
if (pData)
{
pEngine->SetText( *pData );
if ( pInputWin->IsMultiLineInput() )
if ( pInputWin && pInputWin->IsMultiLineInput() )
aString = ScEditUtil::GetMultilineString(*pEngine);
else
aString = GetEditText(pEngine);