diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-19 13:38:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-20 08:15:11 +0200 |
commit | 4bba62e69bae1d1e065b8634b2fea291372ea1ba (patch) | |
tree | 78582ebd12dafcfb319f641ec82af5f5660a2e42 | |
parent | b1279dbe3169eda9a431b87a703f03a619731d5d (diff) |
remove dead code in ImplDrawFloatwinBorder
Change-Id: I4f71d7dbf3ae3fbc139f770084dbdea4cbf9b848
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154651
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/vcl/toolbox.hxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index e04cb3d1ae37..6cf448a30b1d 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -199,7 +199,7 @@ private: SAL_DLLPRIVATE const OUString& ImplGetHelpText( ToolBoxItemId nItemId ) const; SAL_DLLPRIVATE Size ImplGetOptimalFloatingSize(); SAL_DLLPRIVATE bool ImplHasExternalMenubutton() const; - SAL_DLLPRIVATE void ImplDrawFloatwinBorder(vcl::RenderContext& rRenderContext, ImplToolItem const * pItem ); + static SAL_DLLPRIVATE void ImplDrawFloatwinBorder(vcl::RenderContext& rRenderContext, ImplToolItem const * pItem ); DECL_DLLPRIVATE_LINK( ImplUpdateHdl, Timer*, void ); DECL_DLLPRIVATE_LINK( ImplCustomMenuListener, VclMenuEvent&, void ); diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 95c5fd5d0867..fc9effe58065 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2782,8 +2782,6 @@ void ToolBox::ImplDrawFloatwinBorder(vcl::RenderContext& rRenderContext, ImplToo if ( pItem->maRect.IsEmpty() ) return; - tools::Rectangle aRect( mpFloatWin->ImplGetItemEdgeClipRect() ); - aRect.SetPos( AbsoluteScreenToOutputPixel( aRect.TopLeft() ) ); rRenderContext.SetLineColor(rRenderContext.GetSettings().GetStyleSettings().GetShadowColor()); Point p1, p2; |