summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-21 16:21:32 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:16:58 +0200
commit2a4ac6cc8179282d80532da0e97c983a2527abe3 (patch)
tree68f389ebe5b18ffcb9e64663c96273043fdaeefd
parentd8f90e02a426b7aafa24450993e5f4b97f59b8a4 (diff)
remove unused code SfxTemplatePanelControl::SetParagraphFamily()
Change-Id: Id2edc693bcac57ebc56db2115829f77c202d8f62
-rw-r--r--include/sfx2/templdlg.hxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx11
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 14 deletions
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index 7373c23d5bb9..25b152aee92c 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -94,8 +94,6 @@ public:
virtual void StateChanged( StateChangedType nStateChange );
virtual void FreeResource (void);
- void SetParagraphFamily();
-
private:
SfxTemplateDialog_Impl* pImpl;
SfxBindings* mpBindings;
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 54d09f7bcbf8..e4bcbb541a05 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -412,17 +412,6 @@ SfxTemplatePanelControl::~SfxTemplatePanelControl (void)
-void SfxTemplatePanelControl::SetParagraphFamily()
-{
- // first select the paragraph family
- pImpl->FamilySelect( SFX_STYLE_FAMILY_PARA );
- // then select the automatic filter
- pImpl->SetAutomaticFilter();
-}
-
-
-
-
void SfxTemplatePanelControl::DataChanged( const DataChangedEvent& _rDCEvt )
{
if ( ( DATACHANGED_SETTINGS == _rDCEvt.GetType() ) &&
diff --git a/unusedcode.easy b/unusedcode.easy
index db3b261e71d8..2f85f6170fc4 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -113,7 +113,6 @@ SfxBindings::GetSystemWindow() const
SfxDispatcher::IsOnTop(SfxShell const&)
SfxGrabBagItem::SetGrabBag(std::map<rtl::OUString, com::sun::star::uno::Any, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Any> > > const&)
SfxItemPool::GetMasterPool() const
-SfxTemplatePanelControl::SetParagraphFamily()
SimpleErrorHandler::SimpleErrorHandler()
SmFontPickList::Contains(Font const&) const
SmParser::Insert(rtl::OUString const&, int)