svx/source/inc/svdpdf.hxx | 1 - svx/source/svdraw/svdpdf.cxx | 3 --- 2 files changed, 4 deletions(-)
New commits: commit 0d9f6c297c71a27dfff642be065b30737a7ea21e Author: Caolán McNamara <[email protected]> AuthorDate: Fri Oct 17 11:20:12 2025 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Mon Oct 20 09:21:59 2025 +0200 maOldLineColor is unused Change-Id: I808086b026d9392e4012eb7c394f7c1941d97b8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192579 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/svx/source/inc/svdpdf.hxx b/svx/source/inc/svdpdf.hxx index 2e7e7cce0a03..fbea79b404fb 100644 --- a/svx/source/inc/svdpdf.hxx +++ b/svx/source/inc/svdpdf.hxx @@ -106,7 +106,6 @@ class ImpSdrPdfImport final std::unique_ptr<SfxItemSet> mpTextAttr; SdrModel* mpModel; SdrLayerID mnLayer; - Color maOldLineColor; sal_Int32 mnLineWidth; static constexpr css::drawing::LineCap gaLineCap = css::drawing::LineCap_BUTT; XDash maDash; diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index b9a836f286c1..bfbfc31a2c5f 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -129,7 +129,6 @@ ImpSdrPdfImport::ImpSdrPdfImport(SdrModel& rModel, SdrLayerID nLay, const tools: mpVD->EnableOutput(false); mpVD->SetLineColor(); mpVD->SetFillColor(); - maOldLineColor.SetRed(mpVD->GetLineColor().GetRed() + 1); // Get TextBounds relative to baseline vcl::Font aFnt = mpVD->GetFont(); @@ -520,8 +519,6 @@ void ImpSdrPdfImport::SetAttributes(SdrObject* pObj, bool bForceTextAttr) mpLineAttr->Put(XLineWidthItem(0)); } - maOldLineColor = mpVD->GetLineColor(); - if (mpVD->IsLineColor()) { mpLineAttr->Put(XLineStyleItem(drawing::LineStyle_SOLID)); //TODO support dashed lines.
