diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-07-02 17:48:57 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-07-02 17:49:39 +0200 |
commit | fe0985c2326027e86678dffb544c87f108fe9b8e (patch) | |
tree | 89695998c11ec742eb682a1eaf4b495fefed11aa /sw/source/core/doc/docdesc.cxx | |
parent | 278000a28b8eceb8528ebdcf1d601de8192979e8 (diff) |
sw: include header/footer type in layout dump
Change-Id: I27318fbaf71874d34671c0da820caee6cdb22ace
Diffstat (limited to 'sw/source/core/doc/docdesc.cxx')
-rw-r--r-- | sw/source/core/doc/docdesc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx index 23fe98a06a8a..0d3073fa6760 100644 --- a/sw/source/core/doc/docdesc.cxx +++ b/sw/source/core/doc/docdesc.cxx @@ -217,7 +217,7 @@ void SwDoc::CopyMasterHeader(const SwPageDesc &rChged, const SwFmtHeader &rHead, } else if( (*aRCnt.GetCntntIdx()) == (*aCnt.GetCntntIdx()) ) { - SwFrmFmt *pFmt = new SwFrmFmt( GetAttrPool(), "Header", + SwFrmFmt *pFmt = new SwFrmFmt( GetAttrPool(), (bLeft ? "Left header" : "First header"), GetDfltFrmFmt() ); ::lcl_DescSetAttr( *pRight, *pFmt, sal_False ); // The section which the right header attribute is pointing @@ -272,7 +272,7 @@ void SwDoc::CopyMasterFooter(const SwPageDesc &rChged, const SwFmtFooter &rFoot, } else if( (*aRCnt.GetCntntIdx()) == (*aLCnt.GetCntntIdx()) ) { - SwFrmFmt *pFmt = new SwFrmFmt( GetAttrPool(), "Footer", + SwFrmFmt *pFmt = new SwFrmFmt( GetAttrPool(), (bLeft ? "Left footer" : "First footer"), GetDfltFrmFmt() ); ::lcl_DescSetAttr( *pRight, *pFmt, sal_False ); // The section to which the right footer attribute is pointing |