summaryrefslogtreecommitdiff
path: root/svx/source/dialog/connect.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 11:07:37 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 11:07:37 +0000
commit38e100e3e197501a3404a0834ca0757f63bacd61 (patch)
tree8056fbd8f67b3983a8f3f40cf504f27f0931bd0a /svx/source/dialog/connect.cxx
parent27356bb84163474cd6b0111eb4d54ff662cc4437 (diff)
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).
Diffstat (limited to 'svx/source/dialog/connect.cxx')
-rw-r--r--svx/source/dialog/connect.cxx8
1 files changed, 4 insertions, 4 deletions
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();