summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/StyleList.cxx5
-rw-r--r--sfx2/source/inc/StyleList.hxx3
2 files changed, 0 insertions, 8 deletions
diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx
index 9899417ec9ef..e2b80c1e71d7 100644
--- a/sfx2/source/dialog/StyleList.cxx
+++ b/sfx2/source/dialog/StyleList.cxx
@@ -1805,9 +1805,4 @@ IMPL_LINK(StyleList, PopupTreeMenuHdl, const CommandEvent&, rCEvt, bool)
return true;
}
-void StyleList::setVisible(bool b)
-{
- m_xTreeBox->set_visible(b && m_bHierarchical);
- m_xFmtLb->set_visible(b && !m_bHierarchical);
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/inc/StyleList.hxx b/sfx2/source/inc/StyleList.hxx
index 2768f4ce18ae..238655da889a 100644
--- a/sfx2/source/inc/StyleList.hxx
+++ b/sfx2/source/inc/StyleList.hxx
@@ -96,7 +96,6 @@ public:
// Returns the Family Item at ith index
// Used in Dialog's ReadResource_Hdl
const SfxStyleFamilyItem& GetFamilyItemByIndex(size_t i) const;
- const SfxObjectShell* GetObjectShell() const { return m_pCurObjShell; }
bool IsHierarchical() const { return m_bHierarchical; }
void Enabledel(bool candel) { m_bCanDel = candel; }
@@ -121,8 +120,6 @@ public:
void FamilySelect(sal_uInt16 nEntry);
void FilterSelect(sal_uInt16 nActFilter, bool bsetFilter);
- void setVisible(bool b);
-
DECL_LINK(NewMenuExecuteAction, void*, void);
private: