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 /formula | |
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 'formula')
-rw-r--r-- | formula/source/ui/dlg/FormulaHelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/formula/source/ui/dlg/FormulaHelper.cxx b/formula/source/ui/dlg/FormulaHelper.cxx index dfaf45053248..29e60f881ace 100644 --- a/formula/source/ui/dlg/FormulaHelper.cxx +++ b/formula/source/ui/dlg/FormulaHelper.cxx @@ -193,7 +193,7 @@ xub_StrLen FormulaHelper::GetFunctionStart( const OUString& rFormula, sal_Bool bBack, OUString* pFuncName ) const { - xub_StrLen nStrLen = rFormula.getLength(); + sal_Int32 nStrLen = rFormula.getLength(); if ( nStrLen < nStart ) return nStart; @@ -284,7 +284,7 @@ xub_StrLen FormulaHelper::GetFunctionStart( const OUString& rFormula, xub_StrLen FormulaHelper::GetFunctionEnd( const OUString& rStr, xub_StrLen nStart ) const { - xub_StrLen nStrLen = rStr.getLength(); + sal_Int32 nStrLen = rStr.getLength(); if ( nStrLen < nStart ) return nStart; @@ -342,7 +342,7 @@ xub_StrLen FormulaHelper::GetFunctionEnd( const OUString& rStr, xub_StrLen nSta xub_StrLen FormulaHelper::GetArgStart( const OUString& rStr, xub_StrLen nStart, sal_uInt16 nArg ) const { - xub_StrLen nStrLen = rStr.getLength(); + sal_Int32 nStrLen = rStr.getLength(); if ( nStrLen < nStart ) return nStart; |