summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-30 23:08:29 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-09-12 14:18:50 +0200
commitc5909e251871e5a38992fade94a489a9546e11b7 (patch)
tree7ef9bd642fb4799fb2a8d6d3529144c95a468dde /svx/source/engine3d
parente76d07c6185512e47947dbe1b6a83fb944b8198f (diff)
Update many ListBox users to its sal_Int32 interface
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/float3d.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx
index 2577efa68ca0..0dcded535ef4 100644
--- a/svx/source/engine3d/float3d.cxx
+++ b/svx/source/engine3d/float3d.cxx
@@ -2484,8 +2484,7 @@ IMPL_LINK( Svx3DWin, SelectHdl, void *, p )
Color aColSpec( COL_WHITE );
sal_uInt16 nSpecIntens = 20;
- sal_uInt16 nPos = m_pLbMatFavorites->GetSelectEntryPos();
- switch( nPos )
+ switch( m_pLbMatFavorites->GetSelectEntryPos() )
{
case 1: // Metall
{
@@ -2721,7 +2720,7 @@ bool Svx3DWin::LBSelectColor( ColorLB* pLb, const Color& rColor )
aStr += SVX_RESSTR(RID_SVXFLOAT3D_FIX_B);
aStr += OUString::number((sal_Int32)rColor.GetBlue());
- sal_uInt16 nPos = pLb->InsertEntry( rColor, aStr );
+ const sal_Int32 nPos = pLb->InsertEntry( rColor, aStr );
pLb->SelectEntryPos( nPos );
bRet = true;
}