diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2020-03-18 15:22:08 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-03-27 17:16:08 +0100 |
commit | 4d5053627e3e625e7b8c37c8785c0c9da31b7b6d (patch) | |
tree | 6806cab3ce2ded66fde503e103b654f62fcc45d4 /chart2/inc | |
parent | 0900c57f17e16b65309f7c5932e15354e923dd4a (diff) |
tdf#129095 Chart view: fix missing inner chart area
If the inner chart area has RelativeSize, always create
the plot area with that setting.
Regression from commit: 739ed2c29f49ea5e83bcd1352b2644c2e2d09f7b
(tdf#115630 tdf#88922 Chart: fix custom legend position and size)
Change-Id: I9265843c5d0d148c6a392e440b5d3b0c4ccf0e54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90708
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/inc')
-rw-r--r-- | chart2/inc/ChartView.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx index 266ff6b6a8f9..2be47c84e76e 100644 --- a/chart2/inc/ChartView.hxx +++ b/chart2/inc/ChartView.hxx @@ -182,7 +182,7 @@ public: private: //methods void createShapes(); void createShapes2D( const css::awt::Size& rPageSize ); - bool createAxisTitleShapes2D( CreateShapeParam2D& rParam, const css::awt::Size& rPageSize ); + bool createAxisTitleShapes2D( CreateShapeParam2D& rParam, const css::awt::Size& rPageSize, bool bHasRelativeSize ); void getMetaFile( const css::uno::Reference< css::io::XOutputStream >& xOutStream , bool bUseHighContrast ); SdrPage* getSdrPage(); |