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 /sc | |
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 'sc')
-rw-r--r-- | sc/source/ui/miscdlgs/autofmt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/autofmt.cxx b/sc/source/ui/miscdlgs/autofmt.cxx index 93ca94034434..375294c05358 100644 --- a/sc/source/ui/miscdlgs/autofmt.cxx +++ b/sc/source/ui/miscdlgs/autofmt.cxx @@ -246,7 +246,7 @@ void ScAutoFmtPreview::DrawString(vcl::RenderContext& rRenderContext, size_t nCo Size aStrSize; sal_uInt16 nFmtIndex = GetFormatIndex( nCol, nRow ); - const basegfx::B2DRange cellRange(maArray.GetCellRange( nCol, nRow, true )); + const basegfx::B2DRange cellRange(maArray.GetCellRange( nCol, nRow )); Point aPos(basegfx::fround(cellRange.getMinX()), basegfx::fround(cellRange.getMinY())); sal_uInt16 nRightX = 0; bool bJustify = pCurData->GetIncludeJustify(); @@ -370,7 +370,7 @@ void ScAutoFmtPreview::DrawBackground(vcl::RenderContext& rRenderContext) rRenderContext.SetLineColor(); rRenderContext.SetFillColor( pItem->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()), |