loplugin:virtualdead unused param in TitleBar::PaintDecoration
Change-Id: I3dd8ee6492be1a4b3d1032c4d50cc01111d748cb Reviewed-on: https://gerrit.libreoffice.org/81185 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
67d5fbe0d0
commit
729989d485
@ -142,9 +142,6 @@ include/sfx2/sfxstatuslistener.hxx:49
|
||||
include/sfx2/sidebar/ControllerItem.hxx:44
|
||||
void sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface::NotifyItemUpdate(const unsigned short,const enum SfxItemState,const class SfxPoolItem *,const _Bool,)
|
||||
1110
|
||||
include/sfx2/sidebar/TitleBar.hxx:61
|
||||
void sfx2::sidebar::TitleBar::PaintDecoration(class OutputDevice &,const class tools::Rectangle &,)
|
||||
10
|
||||
include/sfx2/stbitem.hxx:100
|
||||
_Bool SfxStatusBarControl::MouseButtonUp(const class MouseEvent &,)
|
||||
0
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual tools::Rectangle GetTitleArea(const tools::Rectangle& rTitleBarBox) override;
|
||||
virtual void PaintDecoration(vcl::RenderContext& rRenderContext, const tools::Rectangle& rTitleBarBox) override;
|
||||
virtual void PaintDecoration(vcl::RenderContext& rRenderContext) override;
|
||||
virtual sidebar::Paint GetBackgroundPaint() override;
|
||||
virtual void HandleToolBoxItemClick(const sal_uInt16 nItemIndex) override;
|
||||
virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override;
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual tools::Rectangle GetTitleArea(const tools::Rectangle& rTitleBarBox) override;
|
||||
virtual void PaintDecoration(vcl::RenderContext& rRenderContext, const tools::Rectangle& rTitleBarBox) override;
|
||||
virtual void PaintDecoration(vcl::RenderContext& rRenderContext) override;
|
||||
virtual sidebar::Paint GetBackgroundPaint() override;
|
||||
virtual void HandleToolBoxItemClick (const sal_uInt16 nItemIndex) override;
|
||||
virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override;
|
||||
|
@ -58,7 +58,7 @@ protected:
|
||||
OUString msTitle;
|
||||
|
||||
virtual tools::Rectangle GetTitleArea (const tools::Rectangle& rTitleBarBox) = 0;
|
||||
virtual void PaintDecoration (vcl::RenderContext& rRenderContext, const tools::Rectangle& rTitleBarBox) = 0;
|
||||
virtual void PaintDecoration (vcl::RenderContext& rRenderContext) = 0;
|
||||
void PaintFocus(vcl::RenderContext& rRenderContext, const tools::Rectangle& rFocusBox);
|
||||
virtual sidebar::Paint GetBackgroundPaint() = 0;
|
||||
virtual void HandleToolBoxItemClick (const sal_uInt16 nItemIndex);
|
||||
|
@ -93,7 +93,7 @@ tools::Rectangle DeckTitleBar::GetDragArea()
|
||||
);
|
||||
}
|
||||
|
||||
void DeckTitleBar::PaintDecoration(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*rTitleBarBox*/)
|
||||
void DeckTitleBar::PaintDecoration(vcl::RenderContext& rRenderContext)
|
||||
{
|
||||
Image aImage (Theme::GetImage(Theme::Image_Grip));
|
||||
const Point aTopLeft(gaLeftGripPadding,
|
||||
|
@ -120,7 +120,7 @@ tools::Rectangle PanelTitleBar::GetTitleArea (const tools::Rectangle& rTitleBarB
|
||||
return rTitleBarBox;
|
||||
}
|
||||
|
||||
void PanelTitleBar::PaintDecoration (vcl::RenderContext& rRenderContext, const tools::Rectangle& /*rTitleBarBox*/)
|
||||
void PanelTitleBar::PaintDecoration (vcl::RenderContext& rRenderContext)
|
||||
{
|
||||
if (mpPanel != nullptr)
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ void TitleBar::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&
|
||||
Size aWindowSize (GetSizePixel());
|
||||
tools::Rectangle aTitleBarBox(0,0, aWindowSize.Width(), aWindowSize.Height());
|
||||
|
||||
PaintDecoration(rRenderContext, aTitleBarBox);
|
||||
PaintDecoration(rRenderContext);
|
||||
const tools::Rectangle aTitleBox(GetTitleArea(aTitleBarBox));
|
||||
PaintTitle(rRenderContext, aTitleBox);
|
||||
PaintFocus(rRenderContext, aTitleBox);
|
||||
|
Loading…
x
Reference in New Issue
Block a user