diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-10-03 01:46:06 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-10-03 01:46:06 +0900 |
commit | 6612ea7d9b03dc9cec1c98fdff0e1a22d2aab241 (patch) | |
tree | 8cb2c3872f32dc58a2d9b3be9955388a81ec32f3 /sw | |
parent | 159e0dd6a0fee832fcb877f089284758f35e2552 (diff) |
definition of ALPHA is no longer available for DEC Alpha
proper ifdef for DEC Alpha should be covered with AXP
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/ndsect.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/docnode/node.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/table/swtable.cxx | 10 |
3 files changed, 0 insertions, 22 deletions
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index aa5d5ec2d265..51538f6c29f3 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -990,11 +990,7 @@ SwSectionNode* SwNode::FindSectionNode() return GetSectionNode(); SwStartNode* pTmp = pStartOfSection; while( !pTmp->IsSectionNode() && pTmp->GetIndex() ) -#if defined( ALPHA ) && defined( UNX ) - pTmp = ((SwNode*)pTmp)->pStartOfSection; -#else pTmp = pTmp->pStartOfSection; -#endif return pTmp->GetSectionNode(); } diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index b1bb09667f4f..ad3c4a371135 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -400,11 +400,7 @@ SwTableNode* SwNode::FindTableNode() return GetTableNode(); SwStartNode* pTmp = pStartOfSection; while( !pTmp->IsTableNode() && pTmp->GetIndex() ) -#if defined( ALPHA ) && defined( UNX ) - pTmp = ((SwNode*)pTmp)->pStartOfSection; -#else pTmp = pTmp->pStartOfSection; -#endif return pTmp->GetTableNode(); } @@ -803,11 +799,7 @@ SwStartNode* SwNode::FindSttNodeByType( SwStartNodeType eTyp ) SwStartNode* pTmp = IsStartNode() ? (SwStartNode*)this : pStartOfSection; while( eTyp != pTmp->GetStartNodeType() && pTmp->GetIndex() ) -#if defined( ALPHA ) && defined( UNX ) - pTmp = ((SwNode*)pTmp)->pStartOfSection; -#else pTmp = pTmp->pStartOfSection; -#endif return eTyp == pTmp->GetStartNodeType() ? pTmp : 0; } diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index 524ebcbdef4d..1f456e7fee54 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -595,12 +595,6 @@ void lcl_ProcessLineGet( const SwTableLine *pLine, SwTabCols &rToFill, } } -// MS: Sonst Absturz auf der DEC-Kiste -// -#if defined(ALPHA) && defined(WNT) -#pragma optimize("", off) -#endif - void SwTable::GetTabCols( SwTabCols &rToFill, const SwTableBox *pStart, sal_Bool bRefreshHidden, sal_Bool bCurRowOnly ) const { @@ -691,10 +685,6 @@ void SwTable::GetTabCols( SwTabCols &rToFill, const SwTableBox *pStart, } } -#if defined(ALPHA) && defined(WNT) -#pragma optimize("", on) -#endif - /************************************************************************* |* |* SwTable::SetTabCols() |