From 38e100e3e197501a3404a0834ca0757f63bacd61 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 12 Oct 2006 11:07:37 +0000 Subject: INTEGRATION: CWS sb59 (1.11.62); FILE MERGED 2006/08/18 12:02:46 sb 1.11.62.1: #i67487# Made code warning-free (wntmsci10). --- svx/source/dialog/connect.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx/source/dialog/connect.cxx') diff --git a/svx/source/dialog/connect.cxx b/svx/source/dialog/connect.cxx index a3e78798fa5b..9e351536c23b 100644 --- a/svx/source/dialog/connect.cxx +++ b/svx/source/dialog/connect.cxx @@ -4,9 +4,9 @@ * * $RCSfile: connect.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: obo $ $Date: 2006-09-17 04:12:34 $ + * last change: $Author: obo $ $Date: 2006-10-12 12:07:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -332,8 +332,8 @@ void __EXPORT SvxConnectionPage::Reset( const SfxItemSet& rAttrs ) pItem = &pPool->GetDefaultItem( SDRATTR_EDGEKIND ); if( pItem ) { - USHORT nValue = ( ( const SdrEdgeKindItem* )pItem )->GetValue(); - aLbType.SelectEntryPos( nValue ); + SdrEdgeKind nValue = ( ( const SdrEdgeKindItem* )pItem )->GetValue(); + aLbType.SelectEntryPos( sal::static_int_cast< USHORT >(nValue) ); } else aLbType.SetNoSelection(); -- cgit