[Libreoffice-commits] core.git: include/sfx2 sfx2/source unusedcode.easy

Caolán McNamara caolanm at redhat.com
Sat Jul 20 11:28:23 PDT 2013


 include/sfx2/sidebar/ControlFactory.hxx |   29 ---------------------
 sfx2/source/sidebar/ControlFactory.cxx  |   43 --------------------------------
 unusedcode.easy                         |    4 --
 3 files changed, 1 insertion(+), 75 deletions(-)

New commits:
commit 822577f412214f282588b627fd6addb489f6a9f0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jul 20 18:56:01 2013 +0100

    callcatcher: update unused code
    
    Change-Id: Id12614722ed106ca595df13d22b6c5e315deb2ac

diff --git a/include/sfx2/sidebar/ControlFactory.hxx b/include/sfx2/sidebar/ControlFactory.hxx
index 2e68730..be66aecb3 100644
--- a/include/sfx2/sidebar/ControlFactory.hxx
+++ b/include/sfx2/sidebar/ControlFactory.hxx
@@ -43,35 +43,6 @@ public:
 
     static ImageRadioButton* CreateTabItem (Window* pParentWindow);
 
-    /** Create a tool box that does *not* handle its items.  The
-        caller has to register callbacks to process, among others,
-        click and selection events.
-    */
-    static SidebarToolBox* CreateToolBox (
-        Window* pParentWindow,
-        const ResId& rResId);
-
-    /** Create a tool box that *does* handle its items.  All event
-        processing is done by toolbox controllers.
-    */
-    static SidebarToolBox* CreateToolBox (
-        Window* pParentWindow,
-        const ResId& rResId,
-        const ::com::sun::star::uno::Reference<com::sun::star::frame::XFrame>& rxFrame);
-
-    /** Create a window that acts as background of a tool box.
-        In general it is slightly larger than the tool box.
-        @param pParentWindow
-            The parent window of the new background control.
-        @param bShowBorder
-            When <TRUE/> then the background control is made slightly
-            larger then its tool box child, once that is created.
-            Otherwise the background control will not be visible.
-    */
-    static Window* CreateToolBoxBackground (
-        Window* pParentWindow,
-        const bool bShowBorder = true);
-
     static ImageRadioButton* CreateCustomImageRadionButton(
         Window* pParentWindow,
         const ResId& rResId );
diff --git a/sfx2/source/sidebar/ControlFactory.cxx b/sfx2/source/sidebar/ControlFactory.cxx
index 4825ca7..1b79267 100644
--- a/sfx2/source/sidebar/ControlFactory.cxx
+++ b/sfx2/source/sidebar/ControlFactory.cxx
@@ -45,49 +45,6 @@ ImageRadioButton* ControlFactory::CreateTabItem (Window* pParentWindow)
 
 
 
-SidebarToolBox* ControlFactory::CreateToolBox (
-    Window* pParentWindow,
-    const ResId& rResId)
-{
-    SidebarToolBox* pToolBox = new SidebarToolBox(pParentWindow, rResId, NULL);
-    pToolBox->SetBorderWindow(pParentWindow);
-
-    pToolBox->Invalidate();
-
-    return pToolBox;
-}
-
-
-
-
-SidebarToolBox* ControlFactory::CreateToolBox (
-    Window* pParentWindow,
-    const ResId& rResId,
-    const cssu::Reference<css::frame::XFrame>& rxFrame)
-{
-    SidebarToolBox* pToolBox = new SidebarToolBox(pParentWindow, rResId, rxFrame);
-    pToolBox->SetBorderWindow(pParentWindow);
-
-    pToolBox->Invalidate();
-
-    return pToolBox;
-}
-
-
-
-
-Window* ControlFactory::CreateToolBoxBackground (
-    Window* pParentWindow,
-    const bool bShowBorder)
-{
-    ToolBoxBackground* pBorderWindow = new ToolBoxBackground(pParentWindow, bShowBorder);
-    pBorderWindow->Show();
-    return pBorderWindow;
-}
-
-
-
-
 ImageRadioButton* ControlFactory::CreateCustomImageRadionButton(
     Window* pParentWindow,
     const ResId& rResId )
diff --git a/unusedcode.easy b/unusedcode.easy
index 9dfa7a3..6f80115 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -49,7 +49,7 @@ ScDocument::GetFormulaTokens(ScAddress const&) const
 ScDocument::GetStringCell(ScAddress const&) const
 ScDocument::IsEmptyData(short, short) const
 ScExtIButton::GetSelected() const
-ScFilterDlg::LinkStubMoreClickHdl(void*, void*)
+ScFormulaCell::GetResultDouble() const
 ScFormulaCell::HasColRowName() const
 ScFormulaCell::IsSharedInvariant() const
 ScFormulaCell::SetResultToken(formula::FormulaToken const*)
@@ -179,8 +179,6 @@ sdr::table::SdrTableObj::getRowCount() const
 sfx2::sidebar::AsynchronousCall::RequestCall(boost::function<void ()> const&)
 sfx2::sidebar::Context::EvaluateMatch(std::__debug::vector<sfx2::sidebar::Context, std::allocator<sfx2::sidebar::Context> > const&) const
 sfx2::sidebar::ContextList::IsEmpty()
-sfx2::sidebar::ControlFactory::CreateToolBox(Window*, ResId const&)
-sfx2::sidebar::ControlFactory::CreateToolBox(Window*, ResId const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&)
 sfx2::sidebar::ControlFactory::CreateToolBoxBackground(Window*, bool)
 sfx2::sidebar::Deck::GetIconURL(bool) const
 sfx2::sidebar::Deck::PrintWindowTree(std::__debug::vector<sfx2::sidebar::Panel*, std::allocator<sfx2::sidebar::Panel*> > const&)


More information about the Libreoffice-commits mailing list