diff options
author | Noel Grandin <noel@peralex.com> | 2013-07-31 12:16:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-07-31 13:36:52 +0200 |
commit | 8855ed1da18e9697873d77d0b99b5eff2e9336a8 (patch) | |
tree | 4698d5d4f18eac10e544805bd5b643ee7d970f79 /vcl/source | |
parent | 43b1ac3651732a1ceb193268ab72b4aaa90dee65 (diff) |
convert vcl/edit.hxx from XubString to OUString
Change-Id: Id0558cb6285ecd19ddc21caee3e26f44cbebf721
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/edit.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 545fb273e869..ffd256a8e729 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1586,9 +1586,9 @@ sal_Bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt ) if ( pImplFncGetSpecialChars ) { Selection aSaveSel = GetSelection(); // if someone changes the selection in Get/LoseFocus, e.g. URL bar - XubString aChars = pImplFncGetSpecialChars( this, GetFont() ); + OUString aChars = pImplFncGetSpecialChars( this, GetFont() ); SetSelection( aSaveSel ); - if ( aChars.Len() ) + if ( !aChars.isEmpty() ) { ImplInsertText( aChars ); ImplModified(); @@ -2176,9 +2176,9 @@ void Edit::Command( const CommandEvent& rCEvt ) break; case SV_MENU_EDIT_INSERTSYMBOL: { - XubString aChars = pImplFncGetSpecialChars( this, GetFont() ); + OUString aChars = pImplFncGetSpecialChars( this, GetFont() ); SetSelection( aSaveSel ); - if ( aChars.Len() ) + if ( !aChars.isEmpty() ) { ImplInsertText( aChars ); ImplModified(); |