vcl/source/window/dockingarea.cxx | 2 -- vcl/source/window/toolbox.cxx | 1 - 2 files changed, 3 deletions(-)
New commits: commit 94993b477d0db1b8572233ba96a60cbcf7523b79 Author: Noel Grandin <[email protected]> AuthorDate: Fri Oct 3 19:24:36 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Oct 4 23:04:59 2025 +0200 remove some unused local vars Change-Id: I00da70d5cb116d00c276c02d8da296d3da2ee908 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191832 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins Reviewed-by: Simon Chenery <[email protected]> diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx index 6797ac000c8a..53ea47ebc415 100644 --- a/vcl/source/window/dockingarea.cxx +++ b/vcl/source/window/dockingarea.cxx @@ -133,8 +133,6 @@ void DockingAreaWindow::ApplySettings(vcl::RenderContext& rRenderContext) void DockingAreaWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) { - const StyleSettings rSetting = rRenderContext.GetSettings().GetStyleSettings(); - EnableNativeWidget(); // only required because the toolkit currently switches this flag off if (!rRenderContext.IsNativeControlSupported(ControlType::Toolbar, ControlPart::Entire)) return; diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 202d99e647ac..d3ebc84bf213 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -505,7 +505,6 @@ void ToolBox::ImplDrawBackground(vcl::RenderContext& rRenderContext, const tools bNativeOk = ImplDrawNativeBackground(rRenderContext); if (!bNativeOk) { - const StyleSettings rSetting = Application::GetSettings().GetStyleSettings(); if (!IsBackground()) { if (!IsInPaint())
