diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-12 14:04:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-12 15:25:33 +0200 |
commit | 972aea543ef94066946dedd6cf6890d34869d89c (patch) | |
tree | f5d959f4bd28ce89f36ccd38215145bf80798001 /chart2 | |
parent | 1afe0df7f3a8d19a034257dcd68e182205dfc649 (diff) |
simplify
Change-Id: I276ba7809b08a359b377ea56259140675c5e00a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154354
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/accessibility/AccessibleViewForwarder.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleViewForwarder.cxx b/chart2/source/controller/accessibility/AccessibleViewForwarder.cxx index 31395f1181dc..dbd8ac0d51f2 100644 --- a/chart2/source/controller/accessibility/AccessibleViewForwarder.cxx +++ b/chart2/source/controller/accessibility/AccessibleViewForwarder.cxx @@ -45,9 +45,9 @@ tools::Rectangle AccessibleViewForwarder::GetVisibleArea() const tools::Rectangle aVisibleArea; if ( m_pWindow ) { - aVisibleArea.SetPos( Point( 0, 0 ) ); - aVisibleArea.SetSize( m_pWindow->GetOutputSizePixel() ); - aVisibleArea = m_pWindow->PixelToLogic( aVisibleArea, m_aMapMode ); + aVisibleArea = m_pWindow->PixelToLogic( + tools::Rectangle( Point( 0, 0 ), m_pWindow->GetOutputSizePixel() ), + m_aMapMode ); } return aVisibleArea; } |