diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-31 12:55:04 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-09-06 12:12:26 +0200 |
commit | dc925031190414ecf0fc09afb5b7e2ecfe7df95e (patch) | |
tree | 6ee4b7a30d9792cacc324c4e92c11a0b4397cf12 /sw/source/core/text/portxt.cxx | |
parent | 698ee302a289c1cd5581b4415f06ade8af448c0e (diff) |
Use more proper types, constify, avoid magic numbers
Change-Id: I15d0fd7de815398ae7323209c5e1d3613b722401
Diffstat (limited to 'sw/source/core/text/portxt.cxx')
-rw-r--r-- | sw/source/core/text/portxt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx index cb35fd24f32d..4f17702621f9 100644 --- a/sw/source/core/text/portxt.cxx +++ b/sw/source/core/text/portxt.cxx @@ -470,7 +470,7 @@ void SwTxtPortion::FormatEOL( SwTxtFormatInfo &rInf ) { // calculate number of blanks sal_Int32 nX = rInf.GetIdx() - 1; - sal_uInt16 nHoleLen = 1; + sal_Int32 nHoleLen = 1; while( nX && nHoleLen < GetLen() && CH_BLANK == rInf.GetChar( --nX ) ) nHoleLen++; |