[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 25 06:32:35 PST 2013


 sw/source/core/doc/poolfmt.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b0a2b73222482d1379e90b636efdf44a48ba3ab6
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date:   Fri Jan 25 15:08:30 2013 +0100

    fdo#59779: Set the first page attributes on pooled styles creation

diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index fc8f1b4..38683a3 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -1597,6 +1597,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
             if( bSetLeft )
                 pNewPgDsc->GetLeft().SetFmtAttr( aSet );
             pNewPgDsc->GetMaster().SetFmtAttr( aSet );
+            pNewPgDsc->GetFirst().SetFmtAttr( aSet );
         }
     }
     return pNewPgDsc;


More information about the Libreoffice-commits mailing list