summaryrefslogtreecommitdiff
path: root/sw/inc/frmatr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-19 15:39:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-24 10:54:05 +0100
commit617a2feff0978d06aa2759038715dfde90d369db (patch)
treee7355f9dfe29c05db574a9961c6132f0c94d61a2 /sw/inc/frmatr.hxx
parent6028b64e27dc45f20aa4a4e0adbef1c03e91a79b (diff)
convert RES_FRM constants to TypedWhichId
Change-Id: I0c71a6fd2e094cebdb720e6c0661cd8a7bb8482c Reviewed-on: https://gerrit.libreoffice.org/46812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/frmatr.hxx')
-rw-r--r--sw/inc/frmatr.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/inc/frmatr.hxx b/sw/inc/frmatr.hxx
index 02a1188c711c..51dda4f4a5d0 100644
--- a/sw/inc/frmatr.hxx
+++ b/sw/inc/frmatr.hxx
@@ -40,33 +40,33 @@
// Implementation of FrameAttribute methods of SwAttrSet.
inline const SvxPaperBinItem &SwAttrSet::GetPaperBin(bool bInP) const
- { return static_cast<const SvxPaperBinItem&>(Get( RES_PAPER_BIN,bInP)); }
+ { return Get( RES_PAPER_BIN,bInP); }
inline const SvxLRSpaceItem &SwAttrSet::GetLRSpace(bool bInP) const
- { return static_cast<const SvxLRSpaceItem&>(Get( RES_LR_SPACE,bInP)); }
+ { return Get( RES_LR_SPACE,bInP); }
inline const SvxULSpaceItem &SwAttrSet::GetULSpace(bool bInP) const
- { return static_cast<const SvxULSpaceItem&>(Get( RES_UL_SPACE,bInP)); }
+ { return Get( RES_UL_SPACE,bInP); }
inline const SvxPrintItem &SwAttrSet::GetPrint(bool bInP) const
- { return static_cast<const SvxPrintItem&>(Get( RES_PRINT,bInP)); }
+ { return Get( RES_PRINT,bInP); }
inline const SvxOpaqueItem &SwAttrSet::GetOpaque(bool bInP) const
- { return static_cast<const SvxOpaqueItem&>(Get( RES_OPAQUE,bInP)); }
+ { return Get( RES_OPAQUE,bInP); }
inline const SvxProtectItem &SwAttrSet::GetProtect(bool bInP) const
- { return static_cast<const SvxProtectItem&>(Get( RES_PROTECT,bInP)); }
+ { return Get( RES_PROTECT,bInP); }
inline const SvxBoxItem &SwAttrSet::GetBox(bool bInP) const
- { return static_cast<const SvxBoxItem&>(Get( RES_BOX,bInP)); }
+ { return Get( RES_BOX,bInP); }
inline const SvxFormatKeepItem &SwAttrSet::GetKeep(bool bInP) const
- { return static_cast<const SvxFormatKeepItem&>(Get( RES_KEEP,bInP)); }
+ { return Get( RES_KEEP,bInP); }
inline const SvxBrushItem &SwAttrSet::GetBackground(bool bInP) const
- { return static_cast<const SvxBrushItem&>(Get( RES_BACKGROUND,bInP)); }
+ { return Get( RES_BACKGROUND,bInP); }
inline const SvxShadowItem &SwAttrSet::GetShadow(bool bInP) const
- { return static_cast<const SvxShadowItem&>(Get( RES_SHADOW,bInP)); }
+ { return Get( RES_SHADOW,bInP); }
inline const SvxFormatBreakItem &SwAttrSet::GetBreak(bool bInP) const
- { return static_cast<const SvxFormatBreakItem&>(Get( RES_BREAK,bInP)); }
+ { return Get( RES_BREAK,bInP); }
inline const SvxMacroItem &SwAttrSet::GetMacro(bool bInP) const
- { return static_cast<const SvxMacroItem&>(Get( RES_FRMMACRO,bInP)); }
+ { return Get( RES_FRMMACRO,bInP); }
inline const SvxFrameDirectionItem &SwAttrSet::GetFrameDir(bool bInP) const
- { return static_cast<const SvxFrameDirectionItem&>(Get( RES_FRAMEDIR,bInP)); }
+ { return Get( RES_FRAMEDIR,bInP); }
inline const SdrTextVertAdjustItem &SwAttrSet::GetTextVertAdjust(bool bInP) const
- { return static_cast<const SdrTextVertAdjustItem&>(Get( RES_TEXT_VERT_ADJUST,bInP)); }
+ { return Get( RES_TEXT_VERT_ADJUST,bInP); }
// Implementation of FrameAttribute methods of SwFormat.
inline const SvxPaperBinItem &SwFormat::GetPaperBin(bool bInP) const