[Libreoffice-commits] .: writerfilter/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Mon Feb 6 01:59:55 PST 2012


 writerfilter/source/dmapper/DomainMapperTableManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 75378a82e1a9e921cebe221427baca24cad47baf
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Mon Feb 6 10:58:12 2012 +0100

    n#228839 an empty table grid can't have implicit merges

diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
index d7060b4..17b48da 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
@@ -477,7 +477,7 @@ void DomainMapperTableManager::endOfRowAction()
 #endif
         insertRowProps(pPropMap);
     }
-    else if (m_bImplicitMerges)
+    else if (m_bImplicitMerges && pTableGrid->size())
     {
         // More grid than cells definitions? Then take the last ones.
         // This feature is used by the RTF implicit horizontal cell merges.


More information about the Libreoffice-commits mailing list