Kaydet (Commit) 6c272503 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: rhbz#1409634 crash on close storing clipboard of database table

Change-Id: I8e692314b4ef278f7881780d51bcecb60ca80c3f
üst 6a68e364
...@@ -921,8 +921,7 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat, sal_Int32 nWidthPixel, sal ...@@ -921,8 +921,7 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat, sal_Int32 nWidthPixel, sal
aStrTD = aStrTD + "="; aStrTD = aStrTD + "=";
aStrTD = aStrTD + pChar; aStrTD = aStrTD + pChar;
Reference< css::util::XNumberFormatsSupplier > xSupplier = m_xFormatter->getNumberFormatsSupplier(); SvNumberFormatsSupplierObj* pSupplierImpl = m_xFormatter.is() ? SvNumberFormatsSupplierObj::getImplementation(m_xFormatter->getNumberFormatsSupplier()) : nullptr;
SvNumberFormatsSupplierObj* pSupplierImpl = SvNumberFormatsSupplierObj::getImplementation( xSupplier );
SvNumberFormatter* pFormatter = pSupplierImpl ? pSupplierImpl->GetNumberFormatter() : nullptr; SvNumberFormatter* pFormatter = pSupplierImpl ? pSupplierImpl->GetNumberFormatter() : nullptr;
if(pFormatter) if(pFormatter)
{ {
......
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