summaryrefslogtreecommitdiff
path: root/cui/source/options/webconninfo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/webconninfo.cxx')
-rw-r--r--cui/source/options/webconninfo.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx
index dc59e4ce986d..892332a49b26 100644
--- a/cui/source/options/webconninfo.cxx
+++ b/cui/source/options/webconninfo.cxx
@@ -55,7 +55,7 @@ PasswordTable::PasswordTable( Window* pParent, const ResId& rResId ) :
SetStyle( GetStyle() | WB_NOINITIALSELECTION );
}
-void PasswordTable::InsertHeaderItem( USHORT nColumn, const String& rText, HeaderBarItemBits nBits )
+void PasswordTable::InsertHeaderItem( sal_uInt16 nColumn, const String& rText, HeaderBarItemBits nBits )
{
GetTheHeaderBar()->InsertItem( nColumn, rText, 0, nBits );
}
@@ -67,11 +67,11 @@ void PasswordTable::ResetTabs()
void PasswordTable::Resort( bool bForced )
{
- USHORT nColumn = GetSelectedCol();
+ sal_uInt16 nColumn = GetSelectedCol();
if ( 0 == nColumn || bForced ) // only the first column is sorted
{
HeaderBarItemBits nBits = GetTheHeaderBar()->GetItemBits(1);
- BOOL bUp = ( ( nBits & HIB_UPARROW ) == HIB_UPARROW );
+ sal_Bool bUp = ( ( nBits & HIB_UPARROW ) == HIB_UPARROW );
SvSortMode eMode = SortAscending;
if ( bUp )
@@ -161,8 +161,8 @@ WebConnectionInfoDialog::WebConnectionInfoDialog( Window* pParent ) :
m_aChangeBtn.SetClickHdl( LINK( this, WebConnectionInfoDialog, ChangePasswordHdl ) );
m_aPasswordsLB.SetSelectHdl( LINK( this, WebConnectionInfoDialog, EntrySelectedHdl ) );
- m_aRemoveBtn.Enable( FALSE );
- m_aChangeBtn.Enable( FALSE );
+ m_aRemoveBtn.Enable( sal_False );
+ m_aChangeBtn.Enable( sal_False );
HeaderBarClickedHdl( NULL );
}
@@ -350,12 +350,12 @@ IMPL_LINK( WebConnectionInfoDialog, EntrySelectedHdl, void*, EMPTYARG )
SvLBoxEntry* pEntry = m_aPasswordsLB.GetCurEntry();
if ( !pEntry )
{
- m_aRemoveBtn.Enable( FALSE );
- m_aChangeBtn.Enable( FALSE );
+ m_aRemoveBtn.Enable( sal_False );
+ m_aChangeBtn.Enable( sal_False );
}
else
{
- m_aRemoveBtn.Enable( TRUE );
+ m_aRemoveBtn.Enable( sal_True );
// url container entries (-> use system credentials) have
// no password