summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/objdlg.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-14 11:16:25 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-14 11:16:25 +0100
commita2242be9c3551310027b341db53164ebd78bc6c8 (patch)
tree75bf8d14bccac43b171488c6e95cd3a31f4031e0 /basctl/source/basicide/objdlg.cxx
parenta6569df130ac16327e4f52498e9925e16f56bf10 (diff)
removetooltypes01: #i112600# remove tooltypes from basctl
Diffstat (limited to 'basctl/source/basicide/objdlg.cxx')
-rw-r--r--basctl/source/basicide/objdlg.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/objdlg.cxx b/basctl/source/basicide/objdlg.cxx
index 82030adfccee..9b9006953411 100644
--- a/basctl/source/basicide/objdlg.cxx
+++ b/basctl/source/basicide/objdlg.cxx
@@ -146,10 +146,10 @@ void __EXPORT ObjectCatalog::Move()
IDE_DLL()->GetExtraData()->SetObjectCatalogPos( GetPosPixel() );
}
-BOOL __EXPORT ObjectCatalog::Close()
+sal_Bool __EXPORT ObjectCatalog::Close()
{
aCancelHdl.Call( this );
- return TRUE;
+ return sal_True;
}
void __EXPORT ObjectCatalog::Resize()
@@ -184,7 +184,7 @@ void __EXPORT ObjectCatalog::Resize()
IMPL_LINK( ObjectCatalog, ToolBoxHdl, ToolBox*, pToolBox )
{
- USHORT nCurItem = pToolBox->GetCurItemId();
+ sal_uInt16 nCurItem = pToolBox->GetCurItemId();
switch ( nCurItem )
{
case TBITEM_SHOW:
@@ -231,9 +231,9 @@ void ObjectCatalog::CheckButtons()
SvLBoxEntry* pCurEntry = aMacroTreeList.GetCurEntry();
BasicEntryType eType = pCurEntry ? ((BasicEntry*)pCurEntry->GetUserData())->GetType() : OBJ_TYPE_UNKNOWN;
if ( eType == OBJ_TYPE_DIALOG || eType == OBJ_TYPE_MODULE || eType == OBJ_TYPE_METHOD )
- aToolBox.EnableItem( TBITEM_SHOW, TRUE );
+ aToolBox.EnableItem( TBITEM_SHOW, sal_True );
else
- aToolBox.EnableItem( TBITEM_SHOW, FALSE );
+ aToolBox.EnableItem( TBITEM_SHOW, sal_False );
}