summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-10-03 01:46:06 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-10-03 01:46:06 +0900
commit6612ea7d9b03dc9cec1c98fdff0e1a22d2aab241 (patch)
tree8cb2c3872f32dc58a2d9b3be9955388a81ec32f3 /sw
parentExternalLib.mk: avoid pushd when cd is enough (diff)
downloadcore-6612ea7d9b03dc9cec1c98fdff0e1a22d2aab241.tar.gz
core-6612ea7d9b03dc9cec1c98fdff0e1a22d2aab241.zip
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.cxx4
-rw-r--r--sw/source/core/docnode/node.cxx8
-rw-r--r--sw/source/core/table/swtable.cxx10
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()