diff options
author | Malte Timmermann [mt] <malte.timmermann@oracle.com> | 2011-02-15 17:14:59 +0100 |
---|---|---|
committer | Malte Timmermann [mt] <malte.timmermann@oracle.com> | 2011-02-15 17:14:59 +0100 |
commit | c554b5b803216ebda1dcf58b377b89028f482e1e (patch) | |
tree | 3265da5308f78702e1c4033de20f25684067e621 /sc/source/ui/miscdlgs/namepast.cxx | |
parent | 7bfe9976e007b92e86082ec2802845c76bf7ce09 (diff) | |
parent | f663a19f9653385500addf5eb6c03dae86296101 (diff) |
accfixes: merged to m100
Diffstat (limited to 'sc/source/ui/miscdlgs/namepast.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/namepast.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/namepast.cxx b/sc/source/ui/miscdlgs/namepast.cxx index d72d86d2b..0d55b0362 100644 --- a/sc/source/ui/miscdlgs/namepast.cxx +++ b/sc/source/ui/miscdlgs/namepast.cxx @@ -42,7 +42,7 @@ //================================================================== -ScNamePasteDlg::ScNamePasteDlg( Window * pParent, const ScRangeName* pList, BOOL bInsList ) +ScNamePasteDlg::ScNamePasteDlg( Window * pParent, const ScRangeName* pList, sal_Bool bInsList ) : ModalDialog( pParent, ScResId( RID_SCDLG_NAMES_PASTE ) ), aLabelText ( this, ScResId( FT_LABEL ) ), aNameList ( this, ScResId( LB_ENTRYLIST ) ), @@ -59,10 +59,10 @@ ScNamePasteDlg::ScNamePasteDlg( Window * pParent, const ScRangeName* pList, BOOL aNameList.SetSelectHdl( LINK( this,ScNamePasteDlg,ListSelHdl) ); aNameList.SetDoubleClickHdl( LINK( this,ScNamePasteDlg,ListDblClickHdl) ); - USHORT nCnt = pList->GetCount(); + sal_uInt16 nCnt = pList->GetCount(); String aText; - for( USHORT i=0 ; i<nCnt ; i++ ) + for( sal_uInt16 i=0 ; i<nCnt ; i++ ) { ScRangeData* pData = (*pList)[ i ]; |