summaryrefslogtreecommitdiff
path: root/sw/inc/grfatr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-11 14:52:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-12 07:46:58 +0100
commitd905c783e7f20ea1f18600252cd92c02ea7f91f7 (patch)
tree2ea8f7926861a5843d578c5711325c18f560c079 /sw/inc/grfatr.hxx
parentbb76df91431e2043a0683ea4140fe69178e10c8d (diff)
TypeWhichId in sw
Change-Id: Ia5654aaf88f13c37f52e3c17d61dd3475641070a Reviewed-on: https://gerrit.libreoffice.org/46230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/grfatr.hxx')
-rw-r--r--sw/inc/grfatr.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx
index 306f9a9757fe..175bdcd480e3 100644
--- a/sw/inc/grfatr.hxx
+++ b/sw/inc/grfatr.hxx
@@ -288,29 +288,29 @@ public:
// Implementation of graphics attributes methods of SwAttr
inline const SwMirrorGrf &SwAttrSet::GetMirrorGrf(bool bInP) const
- { return static_cast<const SwMirrorGrf&>(Get( RES_GRFATR_MIRRORGRF,bInP)); }
+ { return Get( RES_GRFATR_MIRRORGRF,bInP); }
inline const SwCropGrf &SwAttrSet::GetCropGrf(bool bInP) const
- { return static_cast<const SwCropGrf&>(Get( RES_GRFATR_CROPGRF,bInP)); }
+ { return Get( RES_GRFATR_CROPGRF,bInP); }
inline const SwRotationGrf &SwAttrSet::GetRotationGrf(bool bInP) const
- { return static_cast<const SwRotationGrf&>(Get( RES_GRFATR_ROTATION,bInP)); }
+ { return Get( RES_GRFATR_ROTATION,bInP); }
inline const SwLuminanceGrf &SwAttrSet::GetLuminanceGrf(bool bInP) const
- { return static_cast<const SwLuminanceGrf&>(Get( RES_GRFATR_LUMINANCE,bInP)); }
+ { return Get( RES_GRFATR_LUMINANCE,bInP); }
inline const SwContrastGrf &SwAttrSet::GetContrastGrf(bool bInP) const
- { return static_cast<const SwContrastGrf&>(Get( RES_GRFATR_CONTRAST,bInP)); }
+ { return Get( RES_GRFATR_CONTRAST,bInP); }
inline const SwChannelRGrf &SwAttrSet::GetChannelRGrf(bool bInP) const
- { return static_cast<const SwChannelRGrf&>(Get( RES_GRFATR_CHANNELR,bInP)); }
+ { return Get( RES_GRFATR_CHANNELR,bInP); }
inline const SwChannelGGrf &SwAttrSet::GetChannelGGrf(bool bInP) const
- { return static_cast<const SwChannelGGrf&>(Get( RES_GRFATR_CHANNELG,bInP)); }
+ { return Get( RES_GRFATR_CHANNELG,bInP); }
inline const SwChannelBGrf &SwAttrSet::GetChannelBGrf(bool bInP) const
- { return static_cast<const SwChannelBGrf&>(Get( RES_GRFATR_CHANNELB,bInP)); }
+ { return Get( RES_GRFATR_CHANNELB,bInP); }
inline const SwGammaGrf &SwAttrSet::GetGammaGrf(bool bInP) const
- { return static_cast<const SwGammaGrf&>(Get( RES_GRFATR_GAMMA,bInP)); }
+ { return Get( RES_GRFATR_GAMMA,bInP); }
inline const SwInvertGrf &SwAttrSet::GetInvertGrf(bool bInP) const
- { return static_cast<const SwInvertGrf&>(Get( RES_GRFATR_INVERT,bInP)); }
+ { return Get( RES_GRFATR_INVERT,bInP); }
inline const SwTransparencyGrf &SwAttrSet::GetTransparencyGrf(bool bInP) const
- { return static_cast<const SwTransparencyGrf&>(Get( RES_GRFATR_TRANSPARENCY,bInP)); }
+ { return Get( RES_GRFATR_TRANSPARENCY,bInP); }
inline const SwDrawModeGrf &SwAttrSet::GetDrawModeGrf(bool bInP) const
- { return static_cast<const SwDrawModeGrf&>(Get( RES_GRFATR_DRAWMODE,bInP)); }
+ { return Get( RES_GRFATR_DRAWMODE,bInP); }
#endif // INCLUDED_SW_INC_GRFATR_HXX