[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - writerfilter/qa writerfilter/source

Caolán McNamara caolanm at redhat.com
Thu Jul 28 14:31:50 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 15f7ad8774d51b376e40c0ee6061d02510d33e2c
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
    (cherry picked from commit df9414084b46c1712dc7151f50023438c62301e2)
    Reviewed-on: https://gerrit.libreoffice.org/27631
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

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 5ee269b..774bfa1 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -3200,6 +3200,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