[Libreoffice-commits] core.git: writerfilter/qa writerfilter/source

Caolán McNamara caolanm at redhat.com
Thu Jul 28 12:50:06 UTC 2016


 writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-1.rtf |binary
 writerfilter/source/dmapper/DomainMapper.cxx                     |    3 +++
 2 files changed, 3 insertions(+)

New commits:
commit df9414084b46c1712dc7151f50023438c62301e2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jul 28 13:49:13 2016 +0100

    fftester: empty table manager stack
    
    Change-Id: Ia7f7ace8130d5dfe290207e0cd3d2e6a43b8ab46

diff --git a/writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-1.rtf b/writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-1.rtf
new file mode 100644
index 0000000..5b34e7f
Binary files /dev/null and b/writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-1.rtf differ
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index ddaafd5..2db5af3 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -3193,6 +3193,9 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len)
         return;
     }
 
+    if (!m_pImpl->hasTableManager())
+        return;
+
     try
     {
         m_pImpl->getTableManager().utext(data_, len);


More information about the Libreoffice-commits mailing list