diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2010-11-15 11:59:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-15 11:59:57 +0000 |
commit | d67e79934fa19cd667c2455e5e95dd48df511179 (patch) | |
tree | fad02748be4007f72432d57a8a40e2ae9f64d49c /sw/inc/pagedesc.hxx | |
parent | 54d8e263fe5f44f408038d23997039f19c90e09c (diff) |
Comment translations, bogus comments, commented code removed from SW includes
Diffstat (limited to 'sw/inc/pagedesc.hxx')
-rw-r--r-- | sw/inc/pagedesc.hxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index 173e299a6f00..15630e958db1 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -255,39 +255,31 @@ inline void SwPageDesc::ChgHeaderShare( BOOL bNew ) { if ( bNew ) eUse = (UseOnPage) (eUse | nsUseOnPage::PD_HEADERSHARE); - // (USHORT&)eUse |= (USHORT)nsUseOnPage::PD_HEADERSHARE; else eUse = (UseOnPage) (eUse & nsUseOnPage::PD_NOHEADERSHARE); - // (USHORT&)eUse &= (USHORT)nsUseOnPage::PD_NOHEADERSHARE; } inline void SwPageDesc::ChgFooterShare( BOOL bNew ) { if ( bNew ) eUse = (UseOnPage) (eUse | nsUseOnPage::PD_FOOTERSHARE); - // (USHORT&)eUse |= (USHORT)nsUseOnPage::PD_FOOTERSHARE; else eUse = (UseOnPage) (eUse & nsUseOnPage::PD_NOFOOTERSHARE); - // (USHORT&)eUse &= (USHORT)nsUseOnPage::PD_NOFOOTERSHARE; } inline void SwPageDesc::SetUseOn( UseOnPage eNew ) { UseOnPage eTmp = nsUseOnPage::PD_NONE; if ( eUse & nsUseOnPage::PD_HEADERSHARE ) eTmp = nsUseOnPage::PD_HEADERSHARE; - // (USHORT&)eTmp |= (USHORT)nsUseOnPage::PD_HEADERSHARE; if ( eUse & nsUseOnPage::PD_FOOTERSHARE ) eTmp = (UseOnPage) (eTmp | nsUseOnPage::PD_FOOTERSHARE); - // (USHORT&)eTmp |= (USHORT)nsUseOnPage::PD_FOOTERSHARE; eUse = (UseOnPage) (eTmp | eNew); - // (USHORT&)eUse = eTmp | eNew; + } inline UseOnPage SwPageDesc::GetUseOn() const { UseOnPage eRet = eUse; eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOHEADERSHARE); - // (USHORT&)eRet &= (USHORT)nsUseOnPage::PD_NOHEADERSHARE; eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFOOTERSHARE); - // (USHORT&)eRet &= (USHORT)nsUseOnPage::PD_NOFOOTERSHARE; return eRet; } |