Kaydet (Commit) 95272e7e authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Prevent a crash while dumping internal data content.

Change-Id: I0938b955b460d8c91607e6df0b9d9e1a4a971013
üst 4cda79ce
......@@ -516,6 +516,9 @@ void InternalData::dump() const
svl::GridPrinter aPrinter(1, m_nColumnCount, true);
for (sal_Int32 nCol = 0; nCol < m_nColumnCount; ++nCol)
{
if (m_aColumnLabels[nCol].empty())
continue;
OUString aStr;
if (m_aColumnLabels[nCol][0] >>= aStr)
aPrinter.set(0, nCol, aStr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment