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: ...@@ -50,8 +50,6 @@ public:
virtual void Update(); virtual void Update();
void SetParagraphFamily();
// converts from SFX_STYLE_FAMILY Ids to 1-5 // converts from SFX_STYLE_FAMILY Ids to 1-5
static sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily); static sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily);
// converts from 1-5 to SFX_STYLE_FAMILY Ids // converts from 1-5 to SFX_STYLE_FAMILY Ids
......
...@@ -772,8 +772,6 @@ public: ...@@ -772,8 +772,6 @@ public:
virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry ); virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry );
void EnableContextMenuHandling( void ); void EnableContextMenuHandling( void );
void EnableContextMenuHandling( bool bEnable );
bool IsContextMenuHandlingEnabled( void ) const;
void EnableList( bool _bEnable ); void EnableList( bool _bEnable );
......
...@@ -155,14 +155,6 @@ SfxTemplateDialog::~SfxTemplateDialog() ...@@ -155,14 +155,6 @@ SfxTemplateDialog::~SfxTemplateDialog()
delete pImpl; 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 ) void SfxTemplateDialog::DataChanged( const DataChangedEvent& _rDCEvt )
{ {
if ( ( DATACHANGED_SETTINGS == _rDCEvt.GetType() ) && if ( ( DATACHANGED_SETTINGS == _rDCEvt.GetType() ) &&
...@@ -175,8 +167,6 @@ void SfxTemplateDialog::DataChanged( const DataChangedEvent& _rDCEvt ) ...@@ -175,8 +167,6 @@ void SfxTemplateDialog::DataChanged( const DataChangedEvent& _rDCEvt )
SfxDockingWindow::DataChanged( _rDCEvt ); SfxDockingWindow::DataChanged( _rDCEvt );
} }
void SfxTemplateDialog::Update() void SfxTemplateDialog::Update()
{ {
pImpl->Update(); pImpl->Update();
......
...@@ -29,36 +29,17 @@ AsynchronousCall::AsynchronousCall (void) ...@@ -29,36 +29,17 @@ AsynchronousCall::AsynchronousCall (void)
{ {
} }
AsynchronousCall::AsynchronousCall (const Action& rAction) AsynchronousCall::AsynchronousCall (const Action& rAction)
: maAction(rAction), : maAction(rAction),
mnCallId(0) mnCallId(0)
{ {
} }
AsynchronousCall::~AsynchronousCall (void) AsynchronousCall::~AsynchronousCall (void)
{ {
CancelRequest(); CancelRequest();
} }
void AsynchronousCall::RequestCall (const Action& rAction)
{
CancelRequest();
maAction = rAction;
RequestCall();
}
void AsynchronousCall::RequestCall (void) void AsynchronousCall::RequestCall (void)
{ {
if (mnCallId == 0) if (mnCallId == 0)
...@@ -68,9 +49,6 @@ void AsynchronousCall::RequestCall (void) ...@@ -68,9 +49,6 @@ void AsynchronousCall::RequestCall (void)
} }
} }
void AsynchronousCall::CancelRequest (void) void AsynchronousCall::CancelRequest (void)
{ {
if (mnCallId != 0) if (mnCallId != 0)
...@@ -80,9 +58,6 @@ void AsynchronousCall::CancelRequest (void) ...@@ -80,9 +58,6 @@ void AsynchronousCall::CancelRequest (void)
} }
} }
IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG ) IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG )
{ {
mnCallId = 0; mnCallId = 0;
...@@ -92,7 +67,6 @@ IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG ) ...@@ -92,7 +67,6 @@ IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG )
return sal_True; return sal_True;
} }
} } // end of namespace sfx2::sidebar } } // end of namespace sfx2::sidebar
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -38,7 +38,6 @@ public: ...@@ -38,7 +38,6 @@ public:
AsynchronousCall (const Action& rAction); AsynchronousCall (const Action& rAction);
~AsynchronousCall (void); ~AsynchronousCall (void);
void RequestCall (const Action& rAction);
void RequestCall (void); void RequestCall (void);
void CancelRequest (void); void CancelRequest (void);
......
...@@ -3817,18 +3817,6 @@ void SvTreeListBox::EnableContextMenuHandling( void ) ...@@ -3817,18 +3817,6 @@ void SvTreeListBox::EnableContextMenuHandling( void )
pImp->bContextMenuHandling = true; 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 ) void SvTreeListBox::EnableList( bool _bEnable )
{ {
// call base class method // call base class method
......
...@@ -36,7 +36,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() ...@@ -36,7 +36,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*) SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
SfxInt64Item::SetValue(long) SfxInt64Item::SetValue(long)
SfxTemplateDialogWrapper::SetParagraphFamily()
StyleSettings::SetCursorSize(long) StyleSettings::SetCursorSize(long)
StyleSettings::SetFloatTitleHeight(long) StyleSettings::SetFloatTitleHeight(long)
StyleSettings::SetHideDisabledMenuItems(bool) 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