[Libreoffice-commits] .: writerfilter/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Tue Jun 19 08:36:00 PDT 2012


 writerfilter/source/dmapper/DomainMapper.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4abb20ee162ff874cc143fd952f72d30ddc9d136
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Tue Jun 19 17:36:28 2012 +0200

    n#758883 DomainMapper::lcl_startParagraphGroup: set style name consistently
    
    Change-Id: I71c3ebfcb68a53a291bcab2fdd397d62fd8b368a

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index d4b01d6..f51ce3f 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -3223,7 +3223,10 @@ void DomainMapper::lcl_startParagraphGroup()
     if (m_pImpl->GetTopContext())
     {
         if (!m_pImpl->IsInShape())
+        {
             m_pImpl->GetTopContext()->Insert( PROP_PARA_STYLE_NAME, true, uno::makeAny( sDefault ) );
+            m_pImpl->SetCurrentParaStyleId(sDefault);
+        }
         if (m_pImpl->isBreakDeferred(PAGE_BREAK))
                m_pImpl->GetTopContext()->Insert( PROP_BREAK_TYPE, true, uno::makeAny( com::sun::star::style::BreakType_PAGE_BEFORE) );
         else if (m_pImpl->isBreakDeferred(COLUMN_BREAK))


More information about the Libreoffice-commits mailing list