Kaydet (Commit) 6a39fdf8 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
üst 4bd317f8
......@@ -50,8 +50,6 @@ public:
virtual void Update();
void SetParagraphFamily();
// converts from SFX_STYLE_FAMILY Ids to 1-5
static sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily);
// converts from 1-5 to SFX_STYLE_FAMILY Ids
......
......@@ -772,8 +772,6 @@ public:
virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry );
void EnableContextMenuHandling( void );
void EnableContextMenuHandling( bool bEnable );
bool IsContextMenuHandlingEnabled( void ) const;
void EnableList( bool _bEnable );
......
......@@ -155,14 +155,6 @@ SfxTemplateDialog::~SfxTemplateDialog()
delete pImpl;
}
void SfxTemplateDialog::SetParagraphFamily()
{
// first select the paragraph family
pImpl->FamilySelect( SFX_STYLE_FAMILY_PARA );
// then select the automatic filter
pImpl->SetAutomaticFilter();
}
void SfxTemplateDialog::DataChanged( const DataChangedEvent& _rDCEvt )
{
if ( ( DATACHANGED_SETTINGS == _rDCEvt.GetType() ) &&
......@@ -175,8 +167,6 @@ void SfxTemplateDialog::DataChanged( const DataChangedEvent& _rDCEvt )
SfxDockingWindow::DataChanged( _rDCEvt );
}
void SfxTemplateDialog::Update()
{
pImpl->Update();
......
......@@ -29,36 +29,17 @@ AsynchronousCall::AsynchronousCall (void)
{
}
AsynchronousCall::AsynchronousCall (const Action& rAction)
: maAction(rAction),
mnCallId(0)
{
}
AsynchronousCall::~AsynchronousCall (void)
{
CancelRequest();
}
void AsynchronousCall::RequestCall (const Action& rAction)
{
CancelRequest();
maAction = rAction;
RequestCall();
}
void AsynchronousCall::RequestCall (void)
{
if (mnCallId == 0)
......@@ -68,9 +49,6 @@ void AsynchronousCall::RequestCall (void)
}
}
void AsynchronousCall::CancelRequest (void)
{
if (mnCallId != 0)
......@@ -80,9 +58,6 @@ void AsynchronousCall::CancelRequest (void)
}
}
IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG )
{
mnCallId = 0;
......@@ -92,7 +67,6 @@ IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG )
return sal_True;
}
} } // end of namespace sfx2::sidebar
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -38,7 +38,6 @@ public:
AsynchronousCall (const Action& rAction);
~AsynchronousCall (void);
void RequestCall (const Action& rAction);
void RequestCall (void);
void CancelRequest (void);
......
......@@ -3817,18 +3817,6 @@ void SvTreeListBox::EnableContextMenuHandling( void )
pImp->bContextMenuHandling = true;
}
void SvTreeListBox::EnableContextMenuHandling( bool b )
{
assert(pImp && "-SvTreeListBox::EnableContextMenuHandling(): No implementation!");
pImp->bContextMenuHandling = b;
}
bool SvTreeListBox::IsContextMenuHandlingEnabled( void ) const
{
assert(pImp && "-SvTreeListBox::IsContextMenuHandlingEnabled(): No implementation!");
return pImp->bContextMenuHandling;
}
void SvTreeListBox::EnableList( bool _bEnable )
{
// call base class method
......
......@@ -36,7 +36,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
SfxInt64Item::SetValue(long)
SfxTemplateDialogWrapper::SetParagraphFamily()
StyleSettings::SetCursorSize(long)
StyleSettings::SetFloatTitleHeight(long)
StyleSettings::SetHideDisabledMenuItems(bool)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment