diff options
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/Deck.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/sidebar/Panel.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarPanelBase.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/sidebar/TitleBar.cxx | 1 |
4 files changed, 4 insertions, 11 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index 3b86130bfa59..b3937be0f376 100644 --- a/sfx2/source/sidebar/Deck.cxx +++ b/sfx2/source/sidebar/Deck.cxx @@ -141,9 +141,8 @@ void Deck::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*r Theme::GetPaint(Theme::Paint_VerticalBorder)); } -void Deck::DataChanged (const DataChangedEvent& rEvent) +void Deck::DataChanged (const DataChangedEvent&) { - (void)rEvent; RequestLayout(); } diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx index fa75db898742..63b156c696df 100644 --- a/sfx2/source/sidebar/Panel.cxx +++ b/sfx2/source/sidebar/Panel.cxx @@ -152,9 +152,8 @@ void Panel::Resize() } } -void Panel::DataChanged (const DataChangedEvent& rEvent) +void Panel::DataChanged (const DataChangedEvent&) { - (void)rEvent; Invalidate(); } diff --git a/sfx2/source/sidebar/SidebarPanelBase.cxx b/sfx2/source/sidebar/SidebarPanelBase.cxx index e0d72cff36d2..7d0687462122 100644 --- a/sfx2/source/sidebar/SidebarPanelBase.cxx +++ b/sfx2/source/sidebar/SidebarPanelBase.cxx @@ -107,10 +107,8 @@ void SAL_CALL SidebarPanelBase::notifyContextChangeEvent ( } void SAL_CALL SidebarPanelBase::disposing ( - const css::lang::EventObject& rEvent) + const css::lang::EventObject&) { - (void)rEvent; - mxFrame = nullptr; mpControl = nullptr; } @@ -136,10 +134,8 @@ Reference<XInterface> SAL_CALL SidebarPanelBase::getRealInterface() } Reference<accessibility::XAccessible> SAL_CALL SidebarPanelBase::createAccessible ( - const Reference<accessibility::XAccessible>& rxParentAccessible) + const Reference<accessibility::XAccessible>&) { - (void)rxParentAccessible; - // Not yet implemented. return nullptr; } diff --git a/sfx2/source/sidebar/TitleBar.cxx b/sfx2/source/sidebar/TitleBar.cxx index 22433123cd4c..f43e8895bbcd 100644 --- a/sfx2/source/sidebar/TitleBar.cxx +++ b/sfx2/source/sidebar/TitleBar.cxx @@ -166,7 +166,6 @@ void TitleBar::PaintFocus(vcl::RenderContext& rRenderContext, const tools::Recta IMPL_LINK(TitleBar, SelectionHandler, ToolBox*, pToolBox, void) { - (void)pToolBox; OSL_ASSERT(maToolBox.get()==pToolBox); const sal_uInt16 nItemId (maToolBox->GetHighlightItemId()); |