diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-28 15:41:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-05 15:15:30 +0200 |
commit | a6dc113734385cbf37db7ff1804f5276530f78f7 (patch) | |
tree | 91c47dca48541fa297d7a525ab0457302f7a74ed /sw/source/ui | |
parent | bb60c5a877057918b59de08207e83aa284d281cc (diff) |
convert xub_StrLen to sal_Int32
Convert code like:
xub_StrLen nLen = aStr.getLength();
into
sal_Int32 nLen = aStr.getLength();
Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/envelp/envimg.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/lingu/hhcwrp.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/envimg.cxx b/sw/source/ui/envelp/envimg.cxx index 4af72172b4b9..d834265f8ad3 100644 --- a/sw/source/ui/envelp/envimg.cxx +++ b/sw/source/ui/envelp/envimg.cxx @@ -62,7 +62,7 @@ SW_DLLPUBLIC OUString MakeSender() OUString sToken = sSenderToken.getToken( 0, ';', nSttPos ); if (sToken == "COMPANY") { - xub_StrLen nOldLen = sRet.getLength(); + sal_Int32 nOldLen = sRet.getLength(); sRet += rUserOpt.GetCompany(); bLastLength = sRet.getLength() != nOldLen; } diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx index 042f3b31f9c5..0b7d9ba489b6 100644 --- a/sw/source/ui/lingu/hhcwrp.cxx +++ b/sw/source/ui/lingu/hhcwrp.cxx @@ -244,7 +244,7 @@ void SwHHCWrapper::ChangeText( const OUString &rNewText, const sal_Int32 nIndices = pOffsets->getLength(); const sal_Int32 *pIndices = pOffsets->getConstArray(); - xub_StrLen nConvTextLen = rNewText.getLength(); + sal_Int32 nConvTextLen = rNewText.getLength(); xub_StrLen nPos = 0; xub_StrLen nChgPos = STRING_NOTFOUND; xub_StrLen nChgLen = 0; |