diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-10 12:52:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-10 15:22:17 +0200 |
commit | 36057c3a11deb3a7c3748d7aafd5e6dd08b58984 (patch) | |
tree | 3a707c85eb28ae11e0d0b004928c491fe15d6074 /sw/inc/grfatr.hxx | |
parent | 34966ecb6fb139d49e55796229aa98e27ef8e4b2 (diff) |
loplugin: cstylecast
Change-Id: If7ada4cba0b1098bba304f1ec9b860ec7df75e7a
Diffstat (limited to 'sw/inc/grfatr.hxx')
-rw-r--r-- | sw/inc/grfatr.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx index cbd745a96172..8ae55092cfa4 100644 --- a/sw/inc/grfatr.hxx +++ b/sw/inc/grfatr.hxx @@ -290,29 +290,29 @@ public: // Implementation of graphics attributes methods of SwAttr inline const SwMirrorGrf &SwAttrSet::GetMirrorGrf(bool bInP) const - { return (const SwMirrorGrf&)Get( RES_GRFATR_MIRRORGRF,bInP); } + { return static_cast<const SwMirrorGrf&>(Get( RES_GRFATR_MIRRORGRF,bInP)); } inline const SwCropGrf &SwAttrSet::GetCropGrf(bool bInP) const - { return (const SwCropGrf&)Get( RES_GRFATR_CROPGRF,bInP); } + { return static_cast<const SwCropGrf&>(Get( RES_GRFATR_CROPGRF,bInP)); } inline const SwRotationGrf &SwAttrSet::GetRotationGrf(bool bInP) const - { return (const SwRotationGrf&)Get( RES_GRFATR_ROTATION,bInP); } + { return static_cast<const SwRotationGrf&>(Get( RES_GRFATR_ROTATION,bInP)); } inline const SwLuminanceGrf &SwAttrSet::GetLuminanceGrf(bool bInP) const - { return (const SwLuminanceGrf&)Get( RES_GRFATR_LUMINANCE,bInP); } + { return static_cast<const SwLuminanceGrf&>(Get( RES_GRFATR_LUMINANCE,bInP)); } inline const SwContrastGrf &SwAttrSet::GetContrastGrf(bool bInP) const - { return (const SwContrastGrf&)Get( RES_GRFATR_CONTRAST,bInP); } + { return static_cast<const SwContrastGrf&>(Get( RES_GRFATR_CONTRAST,bInP)); } inline const SwChannelRGrf &SwAttrSet::GetChannelRGrf(bool bInP) const - { return (const SwChannelRGrf&)Get( RES_GRFATR_CHANNELR,bInP); } + { return static_cast<const SwChannelRGrf&>(Get( RES_GRFATR_CHANNELR,bInP)); } inline const SwChannelGGrf &SwAttrSet::GetChannelGGrf(bool bInP) const - { return (const SwChannelGGrf&)Get( RES_GRFATR_CHANNELG,bInP); } + { return static_cast<const SwChannelGGrf&>(Get( RES_GRFATR_CHANNELG,bInP)); } inline const SwChannelBGrf &SwAttrSet::GetChannelBGrf(bool bInP) const - { return (const SwChannelBGrf&)Get( RES_GRFATR_CHANNELB,bInP); } + { return static_cast<const SwChannelBGrf&>(Get( RES_GRFATR_CHANNELB,bInP)); } inline const SwGammaGrf &SwAttrSet::GetGammaGrf(bool bInP) const - { return (const SwGammaGrf&)Get( RES_GRFATR_GAMMA,bInP); } + { return static_cast<const SwGammaGrf&>(Get( RES_GRFATR_GAMMA,bInP)); } inline const SwInvertGrf &SwAttrSet::GetInvertGrf(bool bInP) const - { return (const SwInvertGrf&)Get( RES_GRFATR_INVERT,bInP); } + { return static_cast<const SwInvertGrf&>(Get( RES_GRFATR_INVERT,bInP)); } inline const SwTransparencyGrf &SwAttrSet::GetTransparencyGrf(bool bInP) const - { return (const SwTransparencyGrf&)Get( RES_GRFATR_TRANSPARENCY,bInP); } + { return static_cast<const SwTransparencyGrf&>(Get( RES_GRFATR_TRANSPARENCY,bInP)); } inline const SwDrawModeGrf &SwAttrSet::GetDrawModeGrf(bool bInP) const - { return (const SwDrawModeGrf&)Get( RES_GRFATR_DRAWMODE,bInP); } + { return static_cast<const SwDrawModeGrf&>(Get( RES_GRFATR_DRAWMODE,bInP)); } // Implementation of graphics attributes methods of SwFmt inline const SwMirrorGrf &SwFmt::GetMirrorGrf(bool bInP) const |