[Libreoffice-commits] .: Branch 'libreoffice-3-5' - writerfilter/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Mon Feb 6 01:33:45 PST 2012


 writerfilter/source/rtftok/rtfdocumentimpl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 11897d4ddb50539c6351ccf6dce3cdb2f768fe27
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date:   Fri Dec 9 17:04:13 2011 +0100

    rtf import: Check for the first run even when getting \par
    
    (cherry picked from commit 1d1f049859e080b403c743f7e0604bd72475a824)
    
    Signed-off-by: Miklos Vajna <vmiklos at frugalware.org>

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index e23a25f..a96d821 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1308,6 +1308,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
             break;
         case RTF_PAR:
             {
+                checkFirstRun();
                 checkNeedPap();
                 if (!m_pCurrentBuffer)
                     parBreak();


More information about the Libreoffice-commits mailing list