diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-09-27 07:13:02 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-09-27 07:13:02 +0000 |
commit | eacc35bd948e3822813408a9853de9924e6520a9 (patch) | |
tree | 07e4825b2b141546bb71864f377259a2a371f94d /sw/inc/tabcol.hxx | |
parent | 5afc57958c5f5cfbd9d9185137ebfe0102370888 (diff) |
INTEGRATION: CWS swwarnings (1.4.710); FILE MERGED
2007/02/22 15:05:39 tl 1.4.710.1: #i69287# warning-free code
Diffstat (limited to 'sw/inc/tabcol.hxx')
-rw-r--r-- | sw/inc/tabcol.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/tabcol.hxx b/sw/inc/tabcol.hxx index ba0b41941438..269b53afa042 100644 --- a/sw/inc/tabcol.hxx +++ b/sw/inc/tabcol.hxx @@ -4,9 +4,9 @@ * * $RCSfile: tabcol.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-09 02:18:53 $ + * last change: $Author: hr $ $Date: 2007-09-27 08:13:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -89,7 +89,7 @@ public: BOOL operator==( const SwTabCols& rCmp ) const; long& operator[]( USHORT nPos ) { return aData[nPos].nPos; } long operator[]( USHORT nPos ) const { return aData[nPos].nPos; } - USHORT Count() const { return aData.size(); } + USHORT Count() const { return sal::static_int_cast< USHORT >(aData.size()); } BOOL IsHidden( USHORT nPos ) const { return aData[nPos].bHidden; } void SetHidden( USHORT nPos, BOOL bValue ) { aData[nPos].bHidden = bValue; } |