summaryrefslogtreecommitdiff
path: root/soldep
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-10-22 13:44:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-10-22 13:44:42 +0000
commit1360fbd1ba9a6660bcdbfd4860528adf0d995696 (patch)
treefd485beaad7fa50618d33fcb74beeef79d6a1ba4 /soldep
parent5dcdaf96761c116fd9e73c14ae8a4ed9018c0a28 (diff)
INTEGRATION: CWS obo17 (1.3.6); FILE MERGED
2007/10/18 07:45:53 obo 1.3.6.1: #150903# unxmacxi support
Diffstat (limited to 'soldep')
-rw-r--r--soldep/source/tbox.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/soldep/source/tbox.cxx b/soldep/source/tbox.cxx
index 447c96fb6ff7..d4ba7d176a6a 100644
--- a/soldep/source/tbox.cxx
+++ b/soldep/source/tbox.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tbox.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 23:40:15 $
+ * last change: $Author: vg $ $Date: 2007-10-22 14:44:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -47,9 +47,9 @@ SoldepToolBox::SoldepToolBox( Window* pParent, const ResId& aId, BOOL bDAble ) :
bDockable( bDAble ),
bCloseMode( FALSE ),
bBoxIsVisible( TRUE ),
+ bPinable( TRUE ),
aPinedBitmap( DtSodResId( TID_SMALL_PIN_PINED )), // BMP_SMALL_PIN_PINED
- aUnpinedBitmap( DtSodResId( TID_SMALL_PIN_UNPINED )), // BMP_SMALL_PIN_UNPINED
- bPinable( TRUE )
+ aUnpinedBitmap( DtSodResId( TID_SMALL_PIN_UNPINED )) // BMP_SMALL_PIN_UNPINED
{
bPinable = TRUE;
@@ -76,7 +76,7 @@ SoldepToolBox::SoldepToolBox( Window* pParent, const ResId& aId, BOOL bDAble ) :
// if ( sToolBoxInfo.GetToken( 3, ',' ) == "Visible" ) {
for ( USHORT i = 0; i < GetItemCount() && !bBoxIsVisible; i++ )
{
- USHORT nItemId = GetItemId( i );
+// USHORT nItemId = GetItemId( i );
switch ( GetItemType( i ))
{
@@ -570,7 +570,7 @@ BOOL SoldepToolBox::GetPin()
void SoldepToolBox::TogglePin()
{
- bPin != bPin;
+ bPin = !bPin;
}
void SoldepToolBox::SetPin( BOOL bP )
@@ -601,4 +601,4 @@ IMPL_LINK ( SoldepToolBox, MenuSelectHdl, Menu*, pMenu )
mnCurItemId = nTmpId;
}
return 0;
-}
+} \ No newline at end of file