summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/ndsect.cxx
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/source/core/docnode/ndsect.cxx
parent159e0dd6a0fee832fcb877f089284758f35e2552 (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/source/core/docnode/ndsect.cxx')
-rw-r--r--sw/source/core/docnode/ndsect.cxx4
1 files changed, 0 insertions, 4 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();
}