diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 12:20:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 13:59:40 +0100 |
commit | da69c7633a486651f9f4fd4cfd08f167881e0bd6 (patch) | |
tree | a14313acaa352b6a37e2d983cde9c6cff5431525 /lotuswordpro | |
parent | coverity#706054 Unintended sign extension (diff) | |
download | core-da69c7633a486651f9f4fd4cfd08f167881e0bd6.tar.gz core-da69c7633a486651f9f4fd4cfd08f167881e0bd6.zip |
coverity#736883 Unintended sign extension
Change-Id: I8e6a81b6c1605bd1be33f5f8d75d2472a39361d4
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index 1a018a4edc47..89eaa0444fac 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -449,7 +449,7 @@ LwpCellLayout * LwpTableLayout::GetCellByRowCol(sal_uInt16 nRow, sal_uInt16 nCol if (nRow >= m_nRows || nCol >= m_nCols) return NULL; - return m_WordProCellsMap[nRow*m_nCols + nCol]; + return m_WordProCellsMap[static_cast<size_t>(nRow)*m_nCols + nCol]; } /** * @short traverse all table cells |