diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-23 20:43:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-24 08:50:56 +0100 |
commit | 6ed4be1257ef76db4d0ac858a27ea6bd12bd3de1 (patch) | |
tree | 004f04f780ee8db5f60c077d18e7a650a73d2b09 /sw/source | |
parent | 7f4ecf3263db9f40fcb5f02e62fdb45c1fc355bc (diff) |
loplugin:constantparam
Change-Id: Ib65abd0546f1219387fe3fd7ad4f6ba0eb029bd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131987
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/table/autoformatpreview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/table/autoformatpreview.cxx b/sw/source/ui/table/autoformatpreview.cxx index df18f3d5dbd9..ed101b60a81c 100644 --- a/sw/source/ui/table/autoformatpreview.cxx +++ b/sw/source/ui/table/autoformatpreview.cxx @@ -234,7 +234,7 @@ void AutoFormatPreview::DrawString(vcl::RenderContext& rRenderContext, size_t nC SvtScriptedTextHelper aScriptedText(rRenderContext); Size aStrSize; sal_uInt8 nFormatIndex = GetFormatIndex(nCol, nRow); - const basegfx::B2DRange aCellRange(maArray.GetCellRange(nCol, nRow, true)); + const basegfx::B2DRange aCellRange(maArray.GetCellRange(nCol, nRow)); const tools::Rectangle cellRect( basegfx::fround(aCellRange.getMinX()), basegfx::fround(aCellRange.getMinY()), basegfx::fround(aCellRange.getMaxX()), basegfx::fround(aCellRange.getMaxY())); @@ -324,7 +324,7 @@ void AutoFormatPreview::DrawBackground(vcl::RenderContext& rRenderContext) rRenderContext.Push(vcl::PushFlags::LINECOLOR | vcl::PushFlags::FILLCOLOR); rRenderContext.SetLineColor(); rRenderContext.SetFillColor(aBrushItem.GetColor()); - const basegfx::B2DRange aCellRange(maArray.GetCellRange(nCol, nRow, true)); + const basegfx::B2DRange aCellRange(maArray.GetCellRange(nCol, nRow)); rRenderContext.DrawRect(tools::Rectangle( basegfx::fround(aCellRange.getMinX()), basegfx::fround(aCellRange.getMinY()), basegfx::fround(aCellRange.getMaxX()), basegfx::fround(aCellRange.getMaxY()))); |