diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-08-12 11:39:04 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-08-21 10:53:44 +0200 |
commit | 07cbb5b31403a299426dbea1980ac573b6e7a9e2 (patch) | |
tree | 65341c19438950b41de8d4d7f2f5bc7c89e5c918 /reportdesign | |
parent | 74de907344923a9f9575927fca8d43260f86f4c9 (diff) |
tdf#117795: not all elements have ChartFontName property
See bt https://bugs.documentfoundation.org/attachment.cgi?id=144114
In this bugtracker we tried to apply a change of fontname on reportdesign::OFixedLine
Change-Id: I60ee5ca9f967fc71939e2f57ecd9de7edd680958
Reviewed-on: https://gerrit.libreoffice.org/58895
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
(cherry picked from commit 3512079dc42a6472136f9c229fc9ea0b0033ebf9)
Reviewed-on: https://gerrit.libreoffice.org/59151
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 1f7bbcfa7fc55437f11f0d8b93848d9c71f9b3cc)
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 9b47422943b7..34b86170620a 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -4140,7 +4140,14 @@ bool OReportController::impl_setPropertyAtControls_throw(const char* pUndoResId, { const uno::Reference< beans::XPropertySet > xControlModel(*aIter,uno::UNO_QUERY); if ( xControlModel.is() ) - xControlModel->setPropertyValue(_sProperty,_aValue); + try + { + xControlModel->setPropertyValue(_sProperty,_aValue); + } + catch(const UnknownPropertyException& e) + { + SAL_WARN("reportdesign", "UnknowPropertyException:" << e); + } } return !aSelection.empty(); |