diff options
author | Tünde Tóth <tundeth@gmail.com> | 2020-06-25 10:43:58 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-06-29 12:52:44 +0200 |
commit | 17f131fcb3f534792a3b2ec6048d03fb54b55eb1 (patch) | |
tree | fba5ac3d4f57c353fe89f157133e1da12a1cae9d /chart2/source/view/inc | |
parent | 51a4c85bf9228a3750b61cb54e64c8134314a35e (diff) |
tdf#134235 Chart OOXML import: fix long chart title
Workaround to handle long (sub)titles which resulted
broken charts.
See commit 96a29c12a9d8734c9d2a812f38fc6654b5df9c48
(tdf#101322 Chart OOXML Export: fix missing subtitle).
Change-Id: I22bb4699bdda8dea5f31c715cc1f439085a0718f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97092
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/source/view/inc')
-rw-r--r-- | chart2/source/view/inc/ShapeFactory.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/inc/ShapeFactory.hxx b/chart2/source/view/inc/ShapeFactory.hxx index 02faf45b8716..7a698e4b9d87 100644 --- a/chart2/source/view/inc/ShapeFactory.hxx +++ b/chart2/source/view/inc/ShapeFactory.hxx @@ -247,7 +247,7 @@ public: const css::awt::Point& rPosition, css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > >& xFormattedString, const css::uno::Reference< css::beans::XPropertySet > & xTextProperties, - double nRotation, const OUString& aName ); + double nRotation, const OUString& aName, sal_Int32 nTextMaxWidth ); css::uno::Reference< css::drawing::XShape > createInvisibleRectangle( |