summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-01-17 22:29:58 +0100
committerMichael Stahl <mstahl@redhat.com>2013-01-17 22:32:13 +0100
commit33a1b189d23a94e2a1c3329f51009f925b8bd8ee (patch)
tree01c5330734bffa698ba38607844902b6999f9e3e
parent8d301533f0c7764c94f8ad72fced2ce9d9de7585 (diff)
ItemSetToPageDesc: remove mysterious SvxPageUsage flag mangling
These 2 lines (from initial CVS import) appear unnecessary since the only valid SvxPageUsage value with 0x04 set is 0x07. Change-Id: I4fe92e100955ff00831e0ef7bdad21e7105193ed
-rw-r--r--sw/source/ui/utlui/uitool.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/ui/utlui/uitool.cxx b/sw/source/ui/utlui/uitool.cxx
index 1db6d3817c58..2c4087ee0273 100644
--- a/sw/source/ui/utlui/uitool.cxx
+++ b/sw/source/ui/utlui/uitool.cxx
@@ -198,8 +198,6 @@ void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc )
const SvxPageItem& rPageItem = (const SvxPageItem&)rSet.Get(SID_ATTR_PAGE);
sal_uInt16 nUse = (sal_uInt16)rPageItem.GetPageUsage();
- if(nUse & 0x04)
- nUse |= 0x03;
if(nUse)
rPageDesc.SetUseOn( lcl_convertUseFromSvx((UseOnPage) nUse) );
rPageDesc.SetLandscape(rPageItem.IsLandscape());