summaryrefslogtreecommitdiff
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
parent4bd317f845c2f3470c7fc354e478be08c2949e0c (diff)
callcatcher: update unused code
Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
-rw-r--r--include/sfx2/templdlg.hxx2
-rw-r--r--include/svtools/treelistbox.hxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx10
-rw-r--r--sfx2/source/sidebar/AsynchronousCall.cxx26
-rw-r--r--sfx2/source/sidebar/AsynchronousCall.hxx1
-rw-r--r--svtools/source/contnr/treelistbox.cxx12
-rw-r--r--unusedcode.easy1
7 files changed, 0 insertions, 54 deletions
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index 31102fedafb2..a15d4e7095af 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -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
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index e756d4aef9db..f5b1e8330a50 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -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 );
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);
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index e165ace86b84..29956ca9d09b 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -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
diff --git a/unusedcode.easy b/unusedcode.easy
index 29dc6f94cc84..4e5facbface0 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -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)