diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 09:17:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:18:35 +0000 |
commit | 82380478483e785fca73bc67dbc181c15812566b (patch) | |
tree | 6f376f4dbd31a8fb20ed422b587025432e545ef2 | |
parent | 41776e53c54968881021c25f1173d190cfd2ba5d (diff) |
callcatcher: update unused code
Change-Id: I0cfdeefea35d3cb9f00ec4351a1f0f8c58ba5843
-rw-r--r-- | include/vcl/morebtn.hxx | 5 | ||||
-rw-r--r-- | unusedcode.easy | 13 | ||||
-rw-r--r-- | vcl/source/control/morebtn.cxx | 28 |
3 files changed, 2 insertions, 44 deletions
diff --git a/include/vcl/morebtn.hxx b/include/vcl/morebtn.hxx index bb1b1b99f211..3ccec305927b 100644 --- a/include/vcl/morebtn.hxx +++ b/include/vcl/morebtn.hxx @@ -51,15 +51,12 @@ protected: public: explicit MoreButton( Window* pParent, WinBits nStyle = 0 ); - explicit MoreButton( Window* pParent, const ResId& ); virtual ~MoreButton(); void Click(); - void AddWindow( Window* pWindow ); - void SetDelta( sal_uLong nNewDelta ) { mnDelta = nNewDelta; } - sal_uLong GetDelta() const { return mnDelta; } + sal_uLong GetDelta() const { return mnDelta; } void SetMapUnit( MapUnit eNewUnit = MAP_PIXEL ) { meUnit = eNewUnit; } MapUnit GetMapUnit() const { return meUnit; } diff --git a/unusedcode.easy b/unusedcode.easy index e62cbc8a8396..d7b52c4f0e61 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -177,19 +177,6 @@ connectivity::file::OStatement_Base::reset() connectivity::firebird::release(int&, cppu::OBroadcastHelperVar<cppu::OMultiTypeInterfaceContainerHelper, com::sun::star::uno::Type>&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&, com::sun::star::lang::XComponent*) connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char) connectivity::sdbcx::OGroup::OGroup(unsigned char) -dbaccess::OCommandContainer::getUnoTunnelImplementationId() -dbaccess::OCommandDefinition::getUnoTunnelImplementationId() -dbaccess::OComponentDefinition::getUnoTunnelImplementationId() -dbaccess::ODefinitionContainer::getUnoTunnelImplementationId() -dbaccess::ODocumentContainer::getUnoTunnelImplementationId() -dbaccess::ODocumentDefinition::getUnoTunnelImplementationId() -dbaccess::OQuery::getUnoTunnelImplementationId() -dbaccess::OQueryDescriptor::getUnoTunnelImplementationId() -dbaccess::OSingleSelectQueryComposer::getUnoTunnelImplementationId() -dbaui::ComposerDialog::getUnoTunnelImplementationId() -dbaui::OColumnControlModel::getUnoTunnelImplementationId() -dbaui::ODirectSQLDialog::getUnoTunnelImplementationId() -dbaui::OTextConnectionSettingsDialog::getUnoTunnelImplementationId() oglcanvas::CanvasHelper::flush() const oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&) diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx index cca8ee4380a8..fea5a81dfa05 100644 --- a/vcl/source/control/morebtn.cxx +++ b/vcl/source/control/morebtn.cxx @@ -78,18 +78,6 @@ MoreButton::MoreButton( Window* pParent, WinBits nStyle ) : ImplInit( pParent, nStyle ); } -MoreButton::MoreButton( Window* pParent, const ResId& rResId ) : - PushButton( WINDOW_MOREBUTTON ) -{ - rResId.SetRT( RSC_MOREBUTTON ); - WinBits nStyle = ImplInitRes( rResId ); - ImplInit( pParent, nStyle ); - ImplLoadRes( rResId ); - - if ( !(nStyle & WB_HIDE) ) - Show(); -} - void MoreButton::ImplLoadRes( const ResId& rResId ) { PushButton::ImplLoadRes( rResId ); @@ -112,8 +100,7 @@ void MoreButton::ImplLoadRes( const ResId& rResId ) MoreButton::~MoreButton() { - if ( mpMBData->mpItemList ) - delete mpMBData->mpItemList; + delete mpMBData->mpItemList; delete mpMBData; } @@ -171,19 +158,6 @@ void MoreButton::Click() PushButton::Click(); } -void MoreButton::AddWindow( Window* pWindow ) -{ - if ( !mpMBData->mpItemList ) - mpMBData->mpItemList = new ImplMoreWindowList(); - - mpMBData->mpItemList->push_back( pWindow ); - - if ( mbState ) - pWindow->Show(); - else - pWindow->Hide(); -} - void MoreButton::SetText( const OUString& rText ) { PushButton::SetText( rText ); |