summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-11 09:44:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-11 09:57:15 +0100
commitac361231fecb281a0e9550a6527d39183480fe29 (patch)
tree5e6191cd3bd6a63ae180dde73d46828fa4102598 /vcl
parentd121553b65eb12e8e47bc4ffc377be73e2bc90d2 (diff)
SplitWindow::ImplDrawBack is effectively unused
ever since commit facc94bb0aef58353d54e14f948790643ccbec32 Date: Thu Jan 30 14:36:57 2020 +0200 loplugin:unusedfields Change-Id: Idb09424a09074abe77d6d5b63ea4a526a3bb7ed2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88423 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/splitwin.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index 7f48142f6a54..b6d4e96f16d4 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -845,22 +845,6 @@ static void ImplCalcLogSize( std::vector< ImplSplitItem > & rItems, size_t nItem
}
}
-void SplitWindow::ImplDrawBack(vcl::RenderContext& rRenderContext, ImplSplitSet* pSet)
-{
- std::vector< ImplSplitItem >& rItems = pSet->mvItems;
-
- for ( const auto& rItem : rItems )
- {
- pSet = rItem.mpSet.get();
- }
-
- for ( auto& rItem : rItems )
- {
- if (rItem.mpSet)
- ImplDrawBack(rRenderContext, rItem.mpSet.get());
- }
-}
-
static void ImplDrawSplit(vcl::RenderContext& rRenderContext, ImplSplitSet* pSet, bool bRows, bool bDown)
{
if (pSet->mvItems.empty())
@@ -2113,9 +2097,6 @@ void SplitWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectang
ImplDrawFadeOut(rRenderContext);
ImplDrawFadeIn(rRenderContext);
- // draw FrameSet-backgrounds
- ImplDrawBack(rRenderContext, mpMainSet.get());
-
// draw splitter
if (!(mnWinStyle & WB_NOSPLITDRAW))
{