summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/ccoll.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/ccoll.cxx')
-rw-r--r--sw/source/ui/chrdlg/ccoll.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/chrdlg/ccoll.cxx b/sw/source/ui/chrdlg/ccoll.cxx
index 117ece64c2bb..9a381071df56 100644
--- a/sw/source/ui/chrdlg/ccoll.cxx
+++ b/sw/source/ui/chrdlg/ccoll.cxx
@@ -153,7 +153,7 @@ TYPEINIT1_AUTOFACTORY(SwCondCollItem, SfxPoolItem)
****************************************************************************/
-SwCondCollItem::SwCondCollItem(USHORT _nWhich ) :
+SwCondCollItem::SwCondCollItem(sal_uInt16 _nWhich ) :
SfxPoolItem(_nWhich)
{
@@ -171,23 +171,23 @@ SfxPoolItem* SwCondCollItem::Clone( SfxItemPool * /*pPool*/ ) const
int SwCondCollItem::operator==( const SfxPoolItem& rItem) const
{
OSL_ENSURE( SfxPoolItem::operator==(rItem), "different types" );
- BOOL bReturn = TRUE;
- for(USHORT i = 0; i < COND_COMMAND_COUNT; i++)
+ sal_Bool bReturn = sal_True;
+ for(sal_uInt16 i = 0; i < COND_COMMAND_COUNT; i++)
if(sStyles[i] != ((SwCondCollItem&)rItem).sStyles[i])
{
- bReturn = FALSE;
+ bReturn = sal_False;
break;
}
return bReturn;
}
-const String& SwCondCollItem::GetStyle(USHORT nPos) const
+const String& SwCondCollItem::GetStyle(sal_uInt16 nPos) const
{
return nPos < COND_COMMAND_COUNT ? sStyles[nPos] : aEmptyStr;
}
-void SwCondCollItem::SetStyle(const String* pStyle, USHORT nPos)
+void SwCondCollItem::SetStyle(const String* pStyle, sal_uInt16 nPos)
{
if( nPos < COND_COMMAND_COUNT )
sStyles[nPos] = pStyle ? *pStyle : aEmptyStr;