summaryrefslogtreecommitdiff
path: root/sw/inc/tabcol.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 07:13:02 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 07:13:02 +0000
commiteacc35bd948e3822813408a9853de9924e6520a9 (patch)
tree07e4825b2b141546bb71864f377259a2a371f94d /sw/inc/tabcol.hxx
parent5afc57958c5f5cfbd9d9185137ebfe0102370888 (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.hxx6
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; }