diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 21:00:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 10:16:07 +0100 |
commit | b7af008a35f48b821dd95f3d2d945f254bf4ed26 (patch) | |
tree | 4ea4e0a6f0eed32e72f8c043b94cc2bfafebb165 /lotuswordpro/source/filter/lwpnumericfmt.cxx | |
parent | 46a924d34890f64e168ab247bcdad47cfc44a889 (diff) |
remove first chunk of lotuswordpro warnings
Diffstat (limited to 'lotuswordpro/source/filter/lwpnumericfmt.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpnumericfmt.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx index caa1c28764db..df7a5a5c4fa2 100644 --- a/lotuswordpro/source/filter/lwpnumericfmt.cxx +++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx @@ -176,7 +176,9 @@ LwpNumericFormatSubset::~LwpNumericFormatSubset() } /////////////////////////////////////////////////////////////////////////////////// -LwpNumericFormat::LwpNumericFormat(LwpObjectStream * pStrm):cDecimalPlaces(0),cFormat(FMT_DEFAULT) +LwpNumericFormat::LwpNumericFormat(LwpObjectStream * pStrm) + : cFormat(FMT_DEFAULT) + , cDecimalPlaces(0) { assert(pStrm); m_pObjStrm = pStrm; @@ -481,7 +483,7 @@ OUString LwpNumericFormat::reencode(OUString sCode) if (bFound) { pBuff[i] = 0xffe1; - for (sal_uInt32 j=i+1; j < sCode.getLength() - 1; j++) + for (sal_Int32 j=i+1; j < sCode.getLength() - 1; ++j) { pBuff[j] = pString[j+1]; } |