Kaydet (Commit) 5b16fff9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticmethods

Change-Id: I8b57b7ce707438ad3c7c901b03c94d9045585ed8
üst 2970ec84
......@@ -73,8 +73,6 @@
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <boost/bind.hpp>
// this is needed to properly destroy the unique_ptr to the AcceleratorExecute
// object in the DTOR
#include <svtools/acceleratorexecute.hxx>
......@@ -116,7 +114,7 @@ ChartController::ChartController(uno::Reference<uno::XComponentContext> const &
m_aDispatchContainer( m_xCC, this ),
m_eDrawMode( CHARTDRAW_SELECT ),
mpSelectionChangeHandler(new svx::sidebar::SelectionChangeHandler(
boost::bind(&ChartController::GetContextName, this), this,
&ChartController::GetContextName, this,
sfx2::sidebar::EnumContext::Context_Cell))
{
m_aDoubleClickTimer.SetTimeoutHdl( LINK( this, ChartController, DoubleClickWaitingHdl ) );
......
......@@ -153,7 +153,7 @@ public:
::com::sun::star::uno::XComponentContext > const & xContext);
virtual ~ChartController();
OUString GetContextName();
static OUString GetContextName();
// ::com::sun::star::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName()
......
......@@ -63,8 +63,6 @@ ChartElementsPanel::ChartElementsPanel(
get(mpCBGridHorizontal, "checkbutton_gridline_horizontal");
get(mpCBShowLabel, "checkbutton_label");
get(mpCBTrendline, "checkbutton_trendline");
Initialize();
}
ChartElementsPanel::~ChartElementsPanel()
......@@ -95,10 +93,6 @@ void ChartElementsPanel::dispose()
PanelLayout::dispose();
}
void ChartElementsPanel::Initialize()
{
}
VclPtr<vcl::Window> ChartElementsPanel::Create (
vcl::Window* pParent,
const css::uno::Reference<css::frame::XFrame>& rxFrame,
......
......@@ -88,8 +88,6 @@ private:
css::uno::Reference<css::frame::XFrame> mxFrame;
::sfx2::sidebar::EnumContext maContext;
SfxBindings* mpBindings;
void Initialize();
};
} } // end of namespace ::chart::sidebar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment