vcl/source/window/decoview.cxx | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-)
New commits: commit 545ddfbaa98cfeaa35c95d7db7b16cd241cedc89 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Feb 6 20:33:41 2023 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Feb 7 09:35:19 2023 +0000 tdf#153321 use SeparatorColor for FixedLine so the separators as seen in NotebookBar, etc are drawn the same as the separators seen in the normal toolbar Change-Id: I22f4f5e5506e325f78951011f0574653ff5758e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146596 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx index d6bbd2d61982..e9000090086c 100644 --- a/vcl/source/window/decoview.cxx +++ b/vcl/source/window/decoview.cxx @@ -996,24 +996,10 @@ void DecorationView::DrawSeparator( const Point& rStart, const Point& rStop, boo if ( rStyleSettings.GetOptions() & StyleSettingsOptions::Mono ) mpOutDev->SetLineColor( COL_BLACK ); else - mpOutDev->SetLineColor( rStyleSettings.GetShadowColor() ); + mpOutDev->SetLineColor( rStyleSettings.GetSeparatorColor() ); mpOutDev->DrawLine( aStart, aStop ); - if ( !(rStyleSettings.GetOptions() & StyleSettingsOptions::Mono) ) - { - mpOutDev->SetLineColor( rStyleSettings.GetLightColor() ); - if( bVertical ) - { - aStart.AdjustX( 1 ); - aStop.AdjustX( 1 ); - } - else - { - aStart.AdjustY( 1 ); - aStop.AdjustY( 1 ); - } - mpOutDev->DrawLine( aStart, aStop ); - } + mpOutDev->Pop(); }