chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 022a58136d47a41cd490e00b2490329b8f7e6725 Author: Laurent Balland-Poirier <laurent.balland-poir...@laposte.net> Date: Fri Aug 5 12:38:12 2016 +0200 tdf#64145 Add empty subtitle string as default Only empty Title create automatic title. Empty subtitle has no other effect than remove subtitle if it is kept empty Change-Id: I7e7de198585885866efea24de3a66c26d3e340ae Reviewed-on: https://gerrit.libreoffice.org/27904 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index 738b49a..ac4023b 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -660,7 +660,7 @@ void WrappedHasSubTitleProperty::setPropertyValue( const Any& rOuterValue, const try { if( bNewValue ) - TitleHelper::createTitle( TitleHelper::SUB_TITLE, "sub-title", m_spChart2ModelContact->getChartModel(), m_spChart2ModelContact->m_xContext ); + TitleHelper::createTitle( TitleHelper::SUB_TITLE, "", m_spChart2ModelContact->getChartModel(), m_spChart2ModelContact->m_xContext ); else TitleHelper::removeTitle( TitleHelper::SUB_TITLE, m_spChart2ModelContact->getChartModel() ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits