summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/res_BarGeometry.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-30 20:59:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-30 21:21:30 +0100
commit1062aaf005b429fa4b480c2857c3479488208ed8 (patch)
tree1dc53ca2a54901aed7625c5bdb6db07ae65a6cc7 /chart2/source/controller/dialogs/res_BarGeometry.cxx
parentcoverity#1194921 Overflowed return value (diff)
downloadcore-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.cxx6
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 );