diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-16 09:11:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-17 09:05:40 +0200 |
commit | e6d91ff22428f909cf26b18599fdeb5e675c8228 (patch) | |
tree | 223b85fceb0bf21e5c19a9fb45a7a817e91ae2a6 /accessibility/source/extended/accessibleiconchoicectrlentry.cxx | |
parent | ee0d567ff0f6f94bfd93a82ef85befec067e0b35 (diff) |
convert ACCESSIBILITY module from String to OUString
Change-Id: Ia4d2e1feef575cb911e981fbb8b6359755ab0dd9
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrlentry.cxx')
-rw-r--r-- | accessibility/source/extended/accessibleiconchoicectrlentry.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx index fd739fb3941c..d36c8a989aa4 100644 --- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx @@ -494,13 +494,13 @@ throw(RuntimeException) SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); - String sText = getText(); - if ( ( 0 > nStartIndex ) || ( sText.Len() <= nStartIndex ) - || ( 0 > nEndIndex ) || ( sText.Len() <= nEndIndex ) ) + OUString sText = getText(); + if ( ( 0 > nStartIndex ) || ( sText.getLength() <= nStartIndex ) + || ( 0 > nEndIndex ) || ( sText.getLength() <= nEndIndex ) ) throw IndexOutOfBoundsException(); sal_Int32 nLen = nEndIndex - nStartIndex + 1; - ::svt::OStringTransfer::CopyString( sText.Copy( (sal_uInt16)nStartIndex, (sal_uInt16)nLen ), m_pIconCtrl ); + ::svt::OStringTransfer::CopyString( sText.copy( nStartIndex, nLen ), m_pIconCtrl ); return sal_True; } |