diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 12:18:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 13:59:39 +0100 |
commit | b34abf1d3d19ebe55dc899b9579213bda0fb9643 (patch) | |
tree | 5bfc27d9a7e846b7e3a402e905a63de01f0ae396 /sfx2 | |
parent | daa287bdf18dfefca7b889091a1f250d958b8c82 (diff) |
coverity#706054 Unintended sign extension
Change-Id: I69df0aa6091263cbb6e500a5015915c6678764ec
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 65bea0b060b2..0cd33f9244b0 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1663,7 +1663,7 @@ void CustomPropertiesWindow::AddLine( const OUString& sName, Any& rAny ) pNewLine->m_aTypeBox.SetAccessibleName(m_aTypeBox.GetAccessibleName()); pNewLine->m_aValueEdit.SetAccessibleName(m_aValueEdit.GetAccessibleName()); - long nPos = GetVisibleLineCount() * GetLineHeight(); + sal_Int32 nPos = GetVisibleLineCount() * GetLineHeight(); m_aCustomPropertiesLines.push_back( pNewLine ); Window* pWindows[] = { &m_aNameBox, &m_aTypeBox, &m_aValueEdit, &m_aDateField, &m_aTimeField, |