summaryrefslogtreecommitdiff
path: root/vcl/win
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/win
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/win')
-rw-r--r--vcl/win/source/window/salframe.cxx2
1 files changed, 1 insertions, 1 deletions
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;