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