coverity#1400142 Dereference after null check
Change-Id: Ifdb77761a6d8a6dbcbb8f59c84734f767fe0dfaf
This commit is contained in:
parent
0898d12d21
commit
0008b7564a
@ -2026,7 +2026,7 @@ void Edit::Command( const CommandEvent& rCEvt )
|
||||
{
|
||||
ImplSetSelection( Selection( 0, maText.getLength() ) );
|
||||
}
|
||||
else if (sCommand == "specialchar")
|
||||
else if (sCommand == "specialchar" && pImplFncGetSpecialChars)
|
||||
{
|
||||
OUString aChars = pImplFncGetSpecialChars( this, GetFont() );
|
||||
SetSelection( aSaveSel );
|
||||
|
Loading…
x
Reference in New Issue
Block a user