summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-03-05 13:22:50 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-03-05 13:23:00 +0100
commitd431a1323f0b7bbeff79216b2c132e457b6cd3ef (patch)
tree34191fbd65241a27fb10ef8b54053b28b1f5e1c4 /sw
parentca44650259e9388bd7dfd0603e4c9908a116c59b (diff)
SwLinePortion: drop no longer needed C30 workaround
Change-Id: I80496eab6f1bbdcbae74ddac946a95ca2c34b45f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/porlay.hxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx
index e4bb21462b51..83ac09beca7f 100644
--- a/sw/source/core/text/porlay.hxx
+++ b/sw/source/core/text/porlay.hxx
@@ -397,19 +397,8 @@ inline void SwParaPortion::FormatReset()
bFollowField = bFixLineHeight = bMargin = sal_False;
}
-#ifdef UNX
-// The ternary expression is too much for the C30
-inline SwLinePortion *SwLineLayout::GetFirstPortion() const
-{
- SwLinePortion *pTmp = pPortion;
- if ( !pPortion )
- pTmp = (SwLinePortion*)this;
- return( pTmp );
-}
-#else
inline SwLinePortion *SwLineLayout::GetFirstPortion() const
{ return( pPortion ? pPortion : (SwLinePortion*)this ); }
-#endif
CLASSIO( SwLineLayout )
CLASSIO( SwParaPortion )