summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-28 12:21:40 +0200
committerNoel Grandin <noel@peralex.com>2013-11-06 08:51:22 +0200
commit296329a926877d069f55364a177d734f385ce7ae (patch)
treed95dff15946339b5a2df8c7c29159b97137ee30e /vcl
parentebeff1814cbecfba9bbeaeba8067b58f71703a39 (diff)
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.cxx4
-rw-r--r--vcl/win/source/window/salframe.cxx2
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;