diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-01-25 15:08:30 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-01-28 16:09:15 +0100 |
commit | 66cb07cf28186840b8e32d1260b522b5bc7937ea (patch) | |
tree | 9ad8bf573e31c2f1d0207c18df1ee2ed91fd7151 | |
parent | 639f739fbcfb5421c7b7173c700136f169e38bc8 (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.cxx | 1 |
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; |