summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-12-11 21:06:38 -0500
committerAugust Sodora <augsod@gmail.com>2011-12-11 21:06:38 -0500
commit5008540c40484467e857c3245ae29c17c29673a2 (patch)
treefa2482f8e4dcf238e423cda88ad38bc351f7b989 /vcl/source/window
parentc95fa19f7c7b58a2beb65ad52335322ec2ae6f18 (diff)
Remove unused code
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/status.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 32dcc4a56d6c..b701697c0dd4 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -1036,28 +1036,6 @@ void StatusBar::RemoveItem( sal_uInt16 nItemId )
// -----------------------------------------------------------------------
-void StatusBar::HideItem( sal_uInt16 nItemId )
-{
- sal_uInt16 nPos = GetItemPos( nItemId );
-
- if ( nPos != STATUSBAR_ITEM_NOTFOUND )
- {
- ImplStatusItem* pItem = (*mpItemList)[ nPos ];
- if ( pItem->mbVisible )
- {
- pItem->mbVisible = sal_False;
-
- mbFormat = sal_True;
- if ( ImplIsItemUpdate() )
- Invalidate();
-
- ImplCallEventListeners( VCLEVENT_STATUSBAR_HIDEITEM, (void*) sal_IntPtr(nItemId) );
- }
- }
-}
-
-// -----------------------------------------------------------------------
-
sal_Bool StatusBar::IsItemVisible( sal_uInt16 nItemId ) const
{
sal_uInt16 nPos = GetItemPos( nItemId );