diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-30 20:59:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-30 21:21:30 +0100 |
commit | 1062aaf005b429fa4b480c2857c3479488208ed8 (patch) | |
tree | 1dc53ca2a54901aed7625c5bdb6db07ae65a6cc7 /chart2/source/controller/dialogs/res_BarGeometry.cxx | |
parent | coverity#1194921 Overflowed return value (diff) | |
download | core-1062aaf005b429fa4b480c2857c3479488208ed8.tar.gz core-1062aaf005b429fa4b480c2857c3479488208ed8.zip |
coverity#1194922 Overflowed return value
Change-Id: Id00dc5b37685ac81125e5ed075680c4dab2426c9
Diffstat (limited to 'chart2/source/controller/dialogs/res_BarGeometry.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_BarGeometry.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.cxx b/chart2/source/controller/dialogs/res_BarGeometry.cxx index 13a16e72e5d9..725b2cc5d82b 100644 --- a/chart2/source/controller/dialogs/res_BarGeometry.cxx +++ b/chart2/source/controller/dialogs/res_BarGeometry.cxx @@ -44,17 +44,17 @@ void BarGeometryResources::Enable( bool bEnable ) m_pLB_Geometry->Enable( bEnable ); } -sal_uInt16 BarGeometryResources::GetSelectEntryCount() const +sal_Int32 BarGeometryResources::GetSelectEntryCount() const { return m_pLB_Geometry->GetSelectEntryCount(); } -sal_uInt16 BarGeometryResources::GetSelectEntryPos() const +sal_Int32 BarGeometryResources::GetSelectEntryPos() const { return m_pLB_Geometry->GetSelectEntryPos(); } -void BarGeometryResources::SelectEntryPos( sal_uInt16 nPos ) +void BarGeometryResources::SelectEntryPos(sal_Int32 nPos) { if( nPos < m_pLB_Geometry->GetEntryCount() ) m_pLB_Geometry->SelectEntryPos( nPos ); |