summaryrefslogtreecommitdiff
path: root/sw/inc/fmtsrnd.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/fmtsrnd.hxx')
-rw-r--r--sw/inc/fmtsrnd.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fmtsrnd.hxx b/sw/inc/fmtsrnd.hxx
index 4b27127141b1..123717f7bdfe 100644
--- a/sw/inc/fmtsrnd.hxx
+++ b/sw/inc/fmtsrnd.hxx
@@ -70,7 +70,7 @@ inline SwFmtSurround &SwFmtSurround::operator=( const SwFmtSurround &rCpy )
}
inline const SwFmtSurround &SwAttrSet::GetSurround(bool bInP) const
- { return (const SwFmtSurround&)Get( RES_SURROUND,bInP); }
+ { return static_cast<const SwFmtSurround&>(Get( RES_SURROUND,bInP)); }
inline const SwFmtSurround &SwFmt::GetSurround(bool bInP) const
{ return aSet.GetSurround(bInP); }