summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-28 09:22:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-28 09:50:33 +0100
commit6a39fdf81fa561a587b9b9c6a28ba2891f448563 (patch)
tree22550852b3b9c4d01624f4985cf62da604a8271d /sfx2/source
parent4bd317f845c2f3470c7fc354e478be08c2949e0c (diff)
callcatcher: update unused code
Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/templdlg.cxx10
-rw-r--r--sfx2/source/sidebar/AsynchronousCall.cxx26
-rw-r--r--sfx2/source/sidebar/AsynchronousCall.hxx1
3 files changed, 0 insertions, 37 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 2ab172684df1..6c428468373d 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -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();
diff --git a/sfx2/source/sidebar/AsynchronousCall.cxx b/sfx2/source/sidebar/AsynchronousCall.cxx
index 2ce02dc81fff..767e2e71bc4e 100644
--- a/sfx2/source/sidebar/AsynchronousCall.cxx
+++ b/sfx2/source/sidebar/AsynchronousCall.cxx
@@ -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: */
diff --git a/sfx2/source/sidebar/AsynchronousCall.hxx b/sfx2/source/sidebar/AsynchronousCall.hxx
index d3ecd5dcf98c..665a35b9bf5c 100644
--- a/sfx2/source/sidebar/AsynchronousCall.hxx
+++ b/sfx2/source/sidebar/AsynchronousCall.hxx
@@ -38,7 +38,6 @@ public:
AsynchronousCall (const Action& rAction);
~AsynchronousCall (void);
- void RequestCall (const Action& rAction);
void RequestCall (void);
void CancelRequest (void);