<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CRASH: selecting all in cutting"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126686#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CRASH: selecting all in cutting"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126686">bug 126686</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>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() ) );</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>