[Libreoffice-bugs] [Bug 126686] CRASH: selecting all in cutting
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 3 14:20:50 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126686
--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
Here's a naive patch which prevents LO from crashing:
diff --git a/chart2/source/tools/InternalDataProvider.cxx
b/chart2/source/tools/InternalDataProvider.cxx
index acce76d5ea19..7a66e15d8efd 100644
--- a/chart2/source/tools/InternalDataProvider.cxx
+++ b/chart2/source/tools/InternalDataProvider.cxx
@@ -145,7 +145,7 @@ struct lcl_internalizeSeries
}
}
- if( xLabel.is() )
+ if( xLabel.is() && xLabel->getTextualData().getLength() )
{
if( m_bDataInColumns )
m_rInternalData.setComplexColumnLabel( nNewIndex,
lcl_StringToAnyVector( xLabel->getTextualData() ) );
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190803/137060d6/attachment.html>
More information about the Libreoffice-bugs
mailing list