summaryrefslogtreecommitdiff
path: root/sw/inc/fmtornt.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-10 12:52:41 +0200
committerNoel Grandin <noel@peralex.com>2014-11-10 15:22:17 +0200
commit36057c3a11deb3a7c3748d7aafd5e6dd08b58984 (patch)
tree3a707c85eb28ae11e0d0b004928c491fe15d6074 /sw/inc/fmtornt.hxx
parent34966ecb6fb139d49e55796229aa98e27ef8e4b2 (diff)
loplugin: cstylecast
Change-Id: If7ada4cba0b1098bba304f1ec9b860ec7df75e7a
Diffstat (limited to 'sw/inc/fmtornt.hxx')
-rw-r--r--sw/inc/fmtornt.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/fmtornt.hxx b/sw/inc/fmtornt.hxx
index b267d8f08160..17b08e8b12eb 100644
--- a/sw/inc/fmtornt.hxx
+++ b/sw/inc/fmtornt.hxx
@@ -116,9 +116,9 @@ inline SwFmtHoriOrient &SwFmtHoriOrient::operator=( const SwFmtHoriOrient &rCpy
}
inline const SwFmtVertOrient &SwAttrSet::GetVertOrient(bool bInP) const
- { return (const SwFmtVertOrient&)Get( RES_VERT_ORIENT,bInP); }
+ { return static_cast<const SwFmtVertOrient&>(Get( RES_VERT_ORIENT,bInP)); }
inline const SwFmtHoriOrient &SwAttrSet::GetHoriOrient(bool bInP) const
- { return (const SwFmtHoriOrient&)Get( RES_HORI_ORIENT,bInP); }
+ { return static_cast<const SwFmtHoriOrient&>(Get( RES_HORI_ORIENT,bInP)); }
inline const SwFmtVertOrient &SwFmt::GetVertOrient(bool bInP) const
{ return aSet.GetVertOrient(bInP); }