diff options
Diffstat (limited to 'sd/source/ui/dlg/RemoteDialogClientBox.cxx')
-rw-r--r-- | sd/source/ui/dlg/RemoteDialogClientBox.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx index 9e3fa3882dba..4d356bcfc971 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx @@ -34,7 +34,6 @@ using namespace ::com::sun::star; namespace sd { - // struct ClientBoxEntry ClientBoxEntry::ClientBoxEntry( ClientInfo* pClientInfo ) : @@ -43,12 +42,9 @@ ClientBoxEntry::ClientBoxEntry( ClientInfo* pClientInfo ) : { } - ClientBoxEntry::~ClientBoxEntry() {} - - // ClientRemovedListener void ClientRemovedListener::disposing( lang::EventObject const & rEvt ) @@ -57,12 +53,10 @@ void ClientRemovedListener::disposing( lang::EventObject const & rEvt ) (void) rEvt; } - ClientRemovedListener::~ClientRemovedListener() { } - // ClientBox ClientBox::ClientBox( Window* pParent, WinBits nStyle ) : @@ -126,7 +120,6 @@ Size ClientBox::GetOptimalSize() const return LogicToPixel(Size(200, 140), MAP_APPFONT); } - ClientBox::~ClientBox() { if ( ! m_bInDelete ) @@ -146,7 +139,6 @@ ClientBox::~ClientBox() m_xRemoveListener.clear(); } - // Title + description void ClientBox::CalcActiveHeight( const long nPos ) { @@ -179,7 +171,6 @@ void ClientBox::CalcActiveHeight( const long nPos ) m_nActiveHeight = aTextHeight + 2; } - Rectangle ClientBox::GetEntryRect( const long nPos ) const { const ::osl::MutexGuard aGuard( m_entriesMutex ); @@ -201,7 +192,6 @@ Rectangle ClientBox::GetEntryRect( const long nPos ) const return Rectangle( aPos, aSize ); } - void ClientBox::DeleteRemoved() { const ::osl::MutexGuard aGuard( m_entriesMutex ); @@ -224,7 +214,6 @@ long ClientBox::GetActiveEntryIndex() return -1; } - //This function may be called with nPos < 0 void ClientBox::selectEntry( const long nPos ) { @@ -269,7 +258,6 @@ void ClientBox::selectEntry( const long nPos ) guard.clear(); } - void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry ) { const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); @@ -357,10 +345,6 @@ void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry ) m_aPinBox.SetPosPixel( aBtnPos ); - - - - // long nExtraHeight = 0; // if ( pEntry->m_bHasButtons ) @@ -377,7 +361,6 @@ void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry ) DrawLine( rRect.BottomLeft(), rRect.BottomRight() ); } - void ClientBox::RecalcAll() { if ( m_bHasActive ) @@ -428,13 +411,11 @@ void ClientBox::RecalcAll() m_bNeedsRecalc = false; } - bool ClientBox::HandleTabKey( bool ) { return false; } - bool ClientBox::HandleCursorKey( sal_uInt16 nKeyCode ) { if ( m_vEntries.empty() ) @@ -479,7 +460,6 @@ bool ClientBox::HandleCursorKey( sal_uInt16 nKeyCode ) return true; } - void ClientBox::Paint( const Rectangle &/*rPaintRect*/ ) { if ( !m_bInDelete ) @@ -506,7 +486,6 @@ void ClientBox::Paint( const Rectangle &/*rPaintRect*/ ) } } - long ClientBox::GetTotalHeight() const { long nHeight = m_vEntries.size() * m_nStdHeight; @@ -519,7 +498,6 @@ long ClientBox::GetTotalHeight() const return nHeight; } - void ClientBox::SetupScrollBar() { const Size aSize = GetOutputSizePixel(); @@ -552,13 +530,11 @@ void ClientBox::SetupScrollBar() m_bHasScrollBar = bNeedsScrollBar; } - void ClientBox::Resize() { RecalcAll(); } - long ClientBox::PointToPos( const Point& rPos ) { long nPos = ( rPos.Y() + m_nTopIndex ) / m_nStdHeight; @@ -579,7 +555,6 @@ OUString ClientBox::getPin() return OUString::number( m_aPinBox.GetValue() ); } - void ClientBox::MouseButtonDown( const MouseEvent& rMEvt ) { long nPos = PointToPos( rMEvt.GetPosPixel() ); @@ -593,7 +568,6 @@ void ClientBox::MouseButtonDown( const MouseEvent& rMEvt ) } } - bool ClientBox::Notify( NotifyEvent& rNEvt ) { if ( !m_bInDelete ) @@ -637,8 +611,6 @@ bool ClientBox::Notify( NotifyEvent& rNEvt ) return true; } - - long ClientBox::addEntry( ClientInfo* pClientInfo ) { long nPos = 0; @@ -676,7 +648,6 @@ long ClientBox::addEntry( ClientInfo* pClientInfo ) // pEntry->m_xPackage->addEventListener(uno::Reference< lang::XEventListener > ( m_xRemoveListener, uno::UNO_QUERY ) ); } - // pEntry->m_bHasOptions = m_pManager->supportsOptions( xPackage ); // pEntry->m_bUser = xPackage->getRepositoryName().equals( USER_PACKAGE_MANAGER ); // pEntry->m_bShared = xPackage->getRepositoryName().equals( SHARED_PACKAGE_MANAGER ); @@ -700,7 +671,6 @@ long ClientBox::addEntry( ClientInfo* pClientInfo ) return nPos; } - void ClientBox::DoScroll( long nDelta ) { m_nTopIndex += nDelta; @@ -713,7 +683,6 @@ void ClientBox::DoScroll( long nDelta ) m_aScrollBar.SetPosPixel( aNewSBPt ); } - IMPL_LINK( ClientBox, ScrollHdl, ScrollBar*, pScrBar ) { DoScroll( pScrBar->GetDelta() ); |