diff options
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r-- | vcl/source/control/edit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 57d037546c5f..926bc3193a7a 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1467,7 +1467,7 @@ bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt ) if ( pImplFncGetSpecialChars ) { Selection aSaveSel = GetSelection(); // if someone changes the selection in Get/LoseFocus, e.g. URL bar - OUString aChars = pImplFncGetSpecialChars( this, GetFont() ); + OUString aChars = pImplFncGetSpecialChars( GetFrameWeld(), GetFont() ); SetSelection( aSaveSel ); if ( !aChars.isEmpty() ) { @@ -2028,7 +2028,7 @@ void Edit::Command( const CommandEvent& rCEvt ) } else if (sCommand == "specialchar" && pImplFncGetSpecialChars) { - OUString aChars = pImplFncGetSpecialChars( this, GetFont() ); + OUString aChars = pImplFncGetSpecialChars(GetFrameWeld(), GetFont()); SetSelection( aSaveSel ); if (!aChars.isEmpty()) { |