diff options
Diffstat (limited to 'svx/source/dialog/weldeditview.cxx')
-rw-r--r-- | svx/source/dialog/weldeditview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx index 86d64454e0b4..399245547284 100644 --- a/svx/source/dialog/weldeditview.cxx +++ b/svx/source/dialog/weldeditview.cxx @@ -206,7 +206,6 @@ void WeldEditView::PaintSelection(vcl::RenderContext& rRenderContext, tools::Rec aLogicRanges.emplace_back(nLeft, nTop, nRight, nBottom); } - // get the system's highlight color sdr::overlay::OverlaySelection aCursorOverlay(sdr::overlay::OverlayType::Transparent, color, std::move(aLogicRanges), true); @@ -248,6 +247,7 @@ void WeldEditView::DoPaint(vcl::RenderContext& rRenderContext, const tools::Rect std::vector<tools::Rectangle> aLogicRects; pEditView->GetSelectionRectangles(aLogicRects); + // get the system's highlight color const Color aHighlight(SvtOptionsDrawinglayer::getHilightColor()); PaintSelection(rRenderContext, rRect, aLogicRects, aHighlight); |