diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-28 12:21:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-06 08:51:22 +0200 |
commit | 296329a926877d069f55364a177d734f385ce7ae (patch) | |
tree | d95dff15946339b5a2df8c7c29159b97137ee30e /vcl | |
parent | codesign: fix script to support spaces in the CODESIGN_IDENTITY (diff) | |
download | core-296329a926877d069f55364a177d734f385ce7ae.tar.gz core-296329a926877d069f55364a177d734f385ce7ae.zip |
convert xub_StrLen to sal_Int32
convert for loops using xub_StrLen to use sal_Int32
Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 4 | ||||
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 8d97a433223e..66e8ab173cfa 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -2761,7 +2761,7 @@ ImplMultiTextLineInfo::ImplMultiTextLineInfo() ImplMultiTextLineInfo::~ImplMultiTextLineInfo() { - for ( xub_StrLen i = 0; i < mnLines; i++ ) + for( sal_Int32 i = 0; i < mnLines; i++ ) delete mpLines[i]; delete [] mpLines; } @@ -2782,7 +2782,7 @@ void ImplMultiTextLineInfo::AddLine( ImplTextLineInfo* pLine ) void ImplMultiTextLineInfo::Clear() { - for ( xub_StrLen i = 0; i < mnLines; i++ ) + for( sal_Int32 i = 0; i < mnLines; i++ ) delete mpLines[i]; mnLines = 0; } diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 771d4980ad4a..87e5c1a2ec92 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -5243,7 +5243,7 @@ static sal_Bool ImplHandleIMECompositionInput( WinSalFrame* pFrame, sal_Int32 nTextLen2 = aEvt.maText.getLength(); pSalAttrAry = new sal_uInt16[nTextLen2]; memset( pSalAttrAry, 0, nTextLen2*sizeof( sal_uInt16 ) ); - for ( xub_StrLen i = 0; (i < nTextLen2) && (i < nAttrLen); i++ ) + for( sal_Int32 i = 0; (i < nTextLen2) && (i < nAttrLen); i++ ) { BYTE nWinAttr = pAttrBuf[i]; sal_uInt16 nSalAttr; |