diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-05-18 14:02:23 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-05-18 14:02:23 +0000 |
commit | 454dcf07945d79c65682c607ed72d852d884d31d (patch) | |
tree | d9938a7593d2661623461d5c836bcb8197a66f12 /sw/source/ui/utlui/uitool.cxx | |
parent | e0c95ef38b06644ed399c27865cbc61f463588fd (diff) |
INTEGRATION: CWS swautowidth (1.12.226); FILE MERGED
2004/04/05 13:09:32 fme 1.12.226.1: i27205# Feature - Automatic frame width
Diffstat (limited to 'sw/source/ui/utlui/uitool.cxx')
-rw-r--r-- | sw/source/ui/utlui/uitool.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/utlui/uitool.cxx b/sw/source/ui/utlui/uitool.cxx index 9cacab199f..5a921d24f6 100644 --- a/sw/source/ui/utlui/uitool.cxx +++ b/sw/source/ui/utlui/uitool.cxx @@ -2,9 +2,9 @@ * * $RCSfile: uitool.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: rt $ $Date: 2003-09-19 08:49:52 $ + * last change: $Author: kz $ $Date: 2004-05-18 15:02:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -507,7 +507,7 @@ void PageDescToItemSet( const SwPageDesc& rPageDesc, SfxItemSet& rSet) aHeaderSet.Put(aOn); const SwFmtFrmSize &rFrmSize = pHeaderFmt->GetFrmSize(); - const SwFrmSize eSizeType = rFrmSize.GetSizeType(); + const SwFrmSize eSizeType = rFrmSize.GetHeightSizeType(); SfxBoolItem aDynamic(SID_ATTR_PAGE_DYNAMIC, eSizeType != ATT_FIX_SIZE); aHeaderSet.Put(aDynamic); @@ -553,7 +553,7 @@ void PageDescToItemSet( const SwPageDesc& rPageDesc, SfxItemSet& rSet) aFooterSet.Put(aOn); const SwFmtFrmSize &rFrmSize = pFooterFmt->GetFrmSize(); - const SwFrmSize eSizeType = rFrmSize.GetSizeType(); + const SwFrmSize eSizeType = rFrmSize.GetHeightSizeType(); SfxBoolItem aDynamic(SID_ATTR_PAGE_DYNAMIC, eSizeType != ATT_FIX_SIZE); aFooterSet.Put(aDynamic); |