diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 11:48:53 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 11:48:53 +0000 |
commit | ca10f5e6f87502a47b4ee3d4a30d94b64b5b885a (patch) | |
tree | 6aed82929731d14ce7eee82db719a756c9fb9434 /svx/source/gallery2 | |
parent | e9358bfacb63a5c3d8af6c8a14b2bd286132e3cd (diff) |
INTEGRATION: CWS sb59 (1.22.62); FILE MERGED
2006/08/28 12:57:54 sb 1.22.62.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r-- | svx/source/gallery2/galctrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index fc7e30c5f892..02ed533de11d 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: galctrl.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: obo $ $Date: 2006-09-17 05:16:03 $ + * last change: $Author: obo $ $Date: 2006-10-12 12:48:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -538,7 +538,7 @@ Rectangle GalleryListView::GetFieldCharacterBounds(sal_Int32 _nRow,sal_Int32 _nC if ( SeekRow(_nRow) ) { SvxFont aFont( GetFont() ); - AccessibleStringWrap aStringWrap( *this, aFont, GetCellText(_nRow, static_cast<USHORT>( GetColumnId( _nColumnPos ) ) ) ); + AccessibleStringWrap aStringWrap( *this, aFont, GetCellText(_nRow, sal::static_int_cast<USHORT>( GetColumnId( sal::static_int_cast<USHORT>(_nColumnPos) ) ) ) ); // get the bounds inside the string aStringWrap.GetCharacterBounds(nIndex, aRect); @@ -557,7 +557,7 @@ sal_Int32 GalleryListView::GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColu if ( SeekRow(_nRow) ) { SvxFont aFont( GetFont() ); - AccessibleStringWrap aStringWrap( *this, aFont, GetCellText(_nRow, static_cast<USHORT>(GetColumnId(_nColumnPos))) ); + AccessibleStringWrap aStringWrap( *this, aFont, GetCellText(_nRow, sal::static_int_cast<USHORT>(GetColumnId(sal::static_int_cast<USHORT>(_nColumnPos)))) ); nRet = aStringWrap.GetIndexAtPoint(_rPoint); } return nRet; |