diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-01-30 14:44:01 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-01-31 05:47:27 +0000 |
commit | 743dd1d3c1142c1c99b0844cc26dd0be91a1de40 (patch) | |
tree | 96140d26268c3be0cb16e2b805558bd2ad8a9e29 /chart2/source | |
parent | 326dec315c29028ad1c163020d518e1236f37b6b (diff) |
SdrModel: we never set scale fraction to anything else than 1/1
This removes the scale fraction on SdrModel - SetScaleFraction and
the m_aObjUnit instance variable, as it is never set to anything
else than 1/1 (and don't see it usefult to set it to anything else
than this).
Change-Id: I990d20f110b3be00e6770b68e39df212f9c576be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146348
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/main/DrawModelWrapper.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx index 6a6488435f97..1767d2ccdb6b 100644 --- a/chart2/source/view/main/DrawModelWrapper.cxx +++ b/chart2/source/view/main/DrawModelWrapper.cxx @@ -48,8 +48,6 @@ DrawModelWrapper::DrawModelWrapper() { m_xChartItemPool = ChartItemPool::CreateChartItemPool(); - SetScaleUnit(MapUnit::Map100thMM); - SetScaleFraction(Fraction(1, 1)); SetDefaultFontHeight(423); // 12pt SfxItemPool* pMasterPool = &GetItemPool(); |