summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-01-25 15:08:30 +0100
committerPetr Mladek <pmladek@suse.cz>2013-01-28 15:08:13 +0000
commit2f8abaad2830530ad299221d72964894d5ddb402 (patch)
tree5ccff99b3e32e52d65fe44ebd8a70d422fe984b0
parent397dabaea81af7d70f6c17b91e1f3bb424640d35 (diff)
fdo#59779: Set the first page attributes on pooled styles creation
Change-Id: If599bc9d9b9a22c5500a0e39bcec76a6162bec3f Reviewed-on: https://gerrit.libreoffice.org/1864 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
-rw-r--r--sw/source/core/doc/poolfmt.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 28206637ce19..f33eee846a44 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;