diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-29 13:54:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-07 08:16:11 +0200 |
commit | 628a812db0d9a53c1936874028c32c975153941d (patch) | |
tree | 29dea0558051cd1194ce636f27cf9a30ac8ffc6f /vcl | |
parent | 95df39e382920dcd8bf86cb88f02dd219acbfa6f (diff) |
convert vcl/Edit::Impl* methods from xub_StrLen to sal_Int32
Change-Id: I009dd167d399d817689877a5e7e22dc4ab60ec61
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/edit.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 6fd9fd2f8a06..98edce1a5883 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -496,7 +496,7 @@ OUString Edit::ImplGetText() const // ----------------------------------------------------------------------- -void Edit::ImplInvalidateOrRepaint( xub_StrLen nStart, xub_StrLen nEnd ) +void Edit::ImplInvalidateOrRepaint( sal_Int32 nStart, sal_Int32 nEnd ) { if( IsPaintTransparent() ) { @@ -522,7 +522,7 @@ long Edit::ImplGetTextYPosition() const // ----------------------------------------------------------------------- -void Edit::ImplRepaint( xub_StrLen nStart, xub_StrLen nEnd, bool bLayout ) +void Edit::ImplRepaint( sal_Int32 nStart, sal_Int32 nEnd, bool bLayout ) { if ( !IsReallyVisible() ) return; @@ -705,7 +705,7 @@ void Edit::ImplRepaint( xub_StrLen nStart, xub_StrLen nEnd, bool bLayout ) nIndex++; } i = nIndex; - aClip.Intersect(aRegion); + aClip.Intersect(aRegion); if( !aClip.IsEmpty() && nAttr ) { Font aFont = GetFont(); @@ -1283,9 +1283,9 @@ void Edit::ImplAlignAndPaint() // ----------------------------------------------------------------------- -xub_StrLen Edit::ImplGetCharPos( const Point& rWindowPos ) const +sal_Int32 Edit::ImplGetCharPos( const Point& rWindowPos ) const { - xub_StrLen nIndex = STRING_LEN; + sal_Int32 nIndex = STRING_LEN; OUString aText = ImplGetText(); sal_Int32 nDXBuffer[256]; @@ -1344,7 +1344,7 @@ xub_StrLen Edit::ImplGetCharPos( const Point& rWindowPos ) const // ----------------------------------------------------------------------- -void Edit::ImplSetCursorPos( xub_StrLen nChar, sal_Bool bSelect ) +void Edit::ImplSetCursorPos( sal_Int32 nChar, sal_Bool bSelect ) { Selection aSelection( maSelection ); aSelection.Max() = nChar; |