summaryrefslogtreecommitdiff
path: root/sw/inc/charatr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-25 14:00:35 +0200
committerNoel Grandin <noel@peralex.com>2014-04-30 08:44:42 +0200
commit6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch)
tree04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/charatr.hxx
parent1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff)
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/charatr.hxx')
-rw-r--r--sw/inc/charatr.hxx144
1 files changed, 72 insertions, 72 deletions
diff --git a/sw/inc/charatr.hxx b/sw/inc/charatr.hxx
index 402a2dbcdf3c..b791a7ceadd2 100644
--- a/sw/inc/charatr.hxx
+++ b/sw/inc/charatr.hxx
@@ -24,152 +24,152 @@
// implementation of the character attribute methods of SwAttrSet
-inline const SvxPostureItem &SwAttrSet::GetPosture(sal_Bool bInP) const
+inline const SvxPostureItem &SwAttrSet::GetPosture(bool bInP) const
{ return (const SvxPostureItem&)Get( RES_CHRATR_POSTURE,bInP); }
-inline const SvxPostureItem &SwAttrSet::GetCJKPosture(sal_Bool bInP) const
+inline const SvxPostureItem &SwAttrSet::GetCJKPosture(bool bInP) const
{ return (const SvxPostureItem&)Get( RES_CHRATR_CJK_POSTURE,bInP); }
-inline const SvxPostureItem &SwAttrSet::GetCTLPosture(sal_Bool bInP) const
+inline const SvxPostureItem &SwAttrSet::GetCTLPosture(bool bInP) const
{ return (const SvxPostureItem&)Get( RES_CHRATR_CTL_POSTURE,bInP); }
-inline const SvxWeightItem &SwAttrSet::GetWeight(sal_Bool bInP) const
+inline const SvxWeightItem &SwAttrSet::GetWeight(bool bInP) const
{ return (const SvxWeightItem&)Get( RES_CHRATR_WEIGHT,bInP); }
-inline const SvxWeightItem &SwAttrSet::GetCJKWeight(sal_Bool bInP) const
+inline const SvxWeightItem &SwAttrSet::GetCJKWeight(bool bInP) const
{ return (const SvxWeightItem&)Get( RES_CHRATR_CJK_WEIGHT,bInP); }
-inline const SvxWeightItem &SwAttrSet::GetCTLWeight(sal_Bool bInP) const
+inline const SvxWeightItem &SwAttrSet::GetCTLWeight(bool bInP) const
{ return (const SvxWeightItem&)Get( RES_CHRATR_CTL_WEIGHT,bInP); }
-inline const SvxShadowedItem &SwAttrSet::GetShadowed(sal_Bool bInP) const
+inline const SvxShadowedItem &SwAttrSet::GetShadowed(bool bInP) const
{ return (const SvxShadowedItem&)Get( RES_CHRATR_SHADOWED,bInP); }
-inline const SvxAutoKernItem &SwAttrSet::GetAutoKern(sal_Bool bInP) const
+inline const SvxAutoKernItem &SwAttrSet::GetAutoKern(bool bInP) const
{ return (const SvxAutoKernItem&)Get( RES_CHRATR_AUTOKERN,bInP); }
-inline const SvxWordLineModeItem &SwAttrSet::GetWordLineMode(sal_Bool bInP) const
+inline const SvxWordLineModeItem &SwAttrSet::GetWordLineMode(bool bInP) const
{ return (const SvxWordLineModeItem&)Get( RES_CHRATR_WORDLINEMODE,bInP); }
-inline const SvxContourItem &SwAttrSet::GetContour(sal_Bool bInP) const
+inline const SvxContourItem &SwAttrSet::GetContour(bool bInP) const
{ return (const SvxContourItem&)Get( RES_CHRATR_CONTOUR,bInP); }
-inline const SvxKerningItem &SwAttrSet::GetKerning(sal_Bool bInP) const
+inline const SvxKerningItem &SwAttrSet::GetKerning(bool bInP) const
{ return (const SvxKerningItem&)Get( RES_CHRATR_KERNING,bInP); }
-inline const SvxUnderlineItem &SwAttrSet::GetUnderline(sal_Bool bInP) const
+inline const SvxUnderlineItem &SwAttrSet::GetUnderline(bool bInP) const
{ return (const SvxUnderlineItem&)Get( RES_CHRATR_UNDERLINE,bInP); }
-inline const SvxOverlineItem &SwAttrSet::GetOverline(sal_Bool bInP) const
+inline const SvxOverlineItem &SwAttrSet::GetOverline(bool bInP) const
{ return (const SvxOverlineItem&)Get( RES_CHRATR_OVERLINE,bInP); }
-inline const SvxCrossedOutItem &SwAttrSet::GetCrossedOut(sal_Bool bInP) const
+inline const SvxCrossedOutItem &SwAttrSet::GetCrossedOut(bool bInP) const
{ return (const SvxCrossedOutItem&)Get( RES_CHRATR_CROSSEDOUT,bInP); }
-inline const SvxFontHeightItem &SwAttrSet::GetSize(sal_Bool bInP) const
+inline const SvxFontHeightItem &SwAttrSet::GetSize(bool bInP) const
{ return (const SvxFontHeightItem&)Get( RES_CHRATR_FONTSIZE,bInP); }
-inline const SvxFontHeightItem &SwAttrSet::GetCJKSize(sal_Bool bInP) const
+inline const SvxFontHeightItem &SwAttrSet::GetCJKSize(bool bInP) const
{ return (const SvxFontHeightItem&)Get( RES_CHRATR_CJK_FONTSIZE,bInP); }
-inline const SvxFontHeightItem &SwAttrSet::GetCTLSize(sal_Bool bInP) const
+inline const SvxFontHeightItem &SwAttrSet::GetCTLSize(bool bInP) const
{ return (const SvxFontHeightItem&)Get( RES_CHRATR_CTL_FONTSIZE,bInP); }
-inline const SvxPropSizeItem &SwAttrSet::GetPropSize(sal_Bool bInP) const
+inline const SvxPropSizeItem &SwAttrSet::GetPropSize(bool bInP) const
{ return (const SvxPropSizeItem&)Get( RES_CHRATR_PROPORTIONALFONTSIZE,bInP); }
-inline const SvxFontItem &SwAttrSet::GetFont(sal_Bool bInP) const
+inline const SvxFontItem &SwAttrSet::GetFont(bool bInP) const
{ return (const SvxFontItem&)Get( RES_CHRATR_FONT,bInP); }
-inline const SvxFontItem &SwAttrSet::GetCJKFont(sal_Bool bInP) const
+inline const SvxFontItem &SwAttrSet::GetCJKFont(bool bInP) const
{ return (const SvxFontItem&)Get( RES_CHRATR_CJK_FONT,bInP); }
-inline const SvxFontItem &SwAttrSet::GetCTLFont(sal_Bool bInP) const
+inline const SvxFontItem &SwAttrSet::GetCTLFont(bool bInP) const
{ return (const SvxFontItem&)Get( RES_CHRATR_CTL_FONT,bInP); }
-inline const SvxColorItem &SwAttrSet::GetColor(sal_Bool bInP) const
+inline const SvxColorItem &SwAttrSet::GetColor(bool bInP) const
{ return (const SvxColorItem&)Get( RES_CHRATR_COLOR,bInP); }
-inline const SvxCharSetColorItem &SwAttrSet::GetCharSetColor(sal_Bool bInP) const
+inline const SvxCharSetColorItem &SwAttrSet::GetCharSetColor(bool bInP) const
{ return (const SvxCharSetColorItem&)Get( RES_CHRATR_CHARSETCOLOR,bInP); }
-inline const SvxLanguageItem &SwAttrSet::GetLanguage(sal_Bool bInP) const
+inline const SvxLanguageItem &SwAttrSet::GetLanguage(bool bInP) const
{ return (const SvxLanguageItem&)Get( RES_CHRATR_LANGUAGE,bInP); }
-inline const SvxLanguageItem &SwAttrSet::GetCJKLanguage(sal_Bool bInP) const
+inline const SvxLanguageItem &SwAttrSet::GetCJKLanguage(bool bInP) const
{ return (const SvxLanguageItem&)Get( RES_CHRATR_CJK_LANGUAGE,bInP); }
-inline const SvxLanguageItem &SwAttrSet::GetCTLLanguage(sal_Bool bInP) const
+inline const SvxLanguageItem &SwAttrSet::GetCTLLanguage(bool bInP) const
{ return (const SvxLanguageItem&)Get( RES_CHRATR_CTL_LANGUAGE,bInP); }
-inline const SvxEscapementItem &SwAttrSet::GetEscapement(sal_Bool bInP) const
+inline const SvxEscapementItem &SwAttrSet::GetEscapement(bool bInP) const
{ return (const SvxEscapementItem&)Get( RES_CHRATR_ESCAPEMENT,bInP); }
-inline const SvxCaseMapItem &SwAttrSet::GetCaseMap(sal_Bool bInP) const
+inline const SvxCaseMapItem &SwAttrSet::GetCaseMap(bool bInP) const
{ return (const SvxCaseMapItem&)Get( RES_CHRATR_CASEMAP,bInP); }
-inline const SvxNoHyphenItem &SwAttrSet::GetNoHyphenHere(sal_Bool bInP) const
+inline const SvxNoHyphenItem &SwAttrSet::GetNoHyphenHere(bool bInP) const
{ return (const SvxNoHyphenItem&)Get( RES_CHRATR_NOHYPHEN,bInP); }
-inline const SvxBlinkItem &SwAttrSet::GetBlink(sal_Bool bInP) const
+inline const SvxBlinkItem &SwAttrSet::GetBlink(bool bInP) const
{ return (const SvxBlinkItem&)Get( RES_CHRATR_BLINK,bInP); }
-inline const SvxBrushItem &SwAttrSet::GetChrBackground( sal_Bool bInP ) const
+inline const SvxBrushItem &SwAttrSet::GetChrBackground( bool bInP ) const
{ return (const SvxBrushItem&)Get( RES_CHRATR_BACKGROUND, bInP ); }
-inline const SvxBrushItem &SwAttrSet::GetChrHighlight( sal_Bool bInP ) const
+inline const SvxBrushItem &SwAttrSet::GetChrHighlight( bool bInP ) const
{ return (const SvxBrushItem&)Get( RES_CHRATR_HIGHLIGHT, bInP ); }
-inline const SvxEmphasisMarkItem &SwAttrSet::GetEmphasisMark( sal_Bool bInP ) const
+inline const SvxEmphasisMarkItem &SwAttrSet::GetEmphasisMark( bool bInP ) const
{ return (const SvxEmphasisMarkItem&)Get( RES_CHRATR_EMPHASIS_MARK, bInP ); }
-inline const SvxTwoLinesItem &SwAttrSet::Get2Lines( sal_Bool bInP ) const
+inline const SvxTwoLinesItem &SwAttrSet::Get2Lines( bool bInP ) const
{ return (const SvxTwoLinesItem&)Get( RES_CHRATR_TWO_LINES, bInP ); }
-inline const SvxCharScaleWidthItem &SwAttrSet::GetCharScaleW( sal_Bool bInP ) const
+inline const SvxCharScaleWidthItem &SwAttrSet::GetCharScaleW( bool bInP ) const
{ return (const SvxCharScaleWidthItem&)Get( RES_CHRATR_SCALEW, bInP ); }
-inline const SvxCharRotateItem &SwAttrSet::GetCharRotate( sal_Bool bInP ) const
+inline const SvxCharRotateItem &SwAttrSet::GetCharRotate( bool bInP ) const
{ return (const SvxCharRotateItem&)Get( RES_CHRATR_ROTATE, bInP ); }
-inline const SvxCharReliefItem &SwAttrSet::GetCharRelief( sal_Bool bInP ) const
+inline const SvxCharReliefItem &SwAttrSet::GetCharRelief( bool bInP ) const
{ return (const SvxCharReliefItem&)Get( RES_CHRATR_RELIEF, bInP ); }
-inline const SvxCharHiddenItem &SwAttrSet::GetCharHidden( sal_Bool bInP ) const
+inline const SvxCharHiddenItem &SwAttrSet::GetCharHidden( bool bInP ) const
{ return (const SvxCharHiddenItem&)Get( RES_CHRATR_HIDDEN, bInP ); }
-inline const SvxBoxItem &SwAttrSet::GetCharBorder( sal_Bool bInP ) const
+inline const SvxBoxItem &SwAttrSet::GetCharBorder( bool bInP ) const
{ return (const SvxBoxItem&)Get( RES_CHRATR_BOX, bInP ); }
-inline const SvxShadowItem &SwAttrSet::GetCharShadow( sal_Bool bInP ) const
+inline const SvxShadowItem &SwAttrSet::GetCharShadow( bool bInP ) const
{ return (const SvxShadowItem&)Get( RES_CHRATR_SHADOW, bInP ); }
// implementation of the character attribute methods of SwFmt
-inline const SvxPostureItem &SwFmt::GetPosture(sal_Bool bInP) const
+inline const SvxPostureItem &SwFmt::GetPosture(bool bInP) const
{ return aSet.GetPosture(bInP); }
-inline const SvxWeightItem &SwFmt::GetWeight(sal_Bool bInP) const
+inline const SvxWeightItem &SwFmt::GetWeight(bool bInP) const
{ return aSet.GetWeight(bInP); }
-inline const SvxShadowedItem &SwFmt::GetShadowed(sal_Bool bInP) const
+inline const SvxShadowedItem &SwFmt::GetShadowed(bool bInP) const
{ return aSet.GetShadowed(bInP); }
-inline const SvxAutoKernItem &SwFmt::GetAutoKern(sal_Bool bInP) const
+inline const SvxAutoKernItem &SwFmt::GetAutoKern(bool bInP) const
{ return aSet.GetAutoKern(bInP); }
-inline const SvxWordLineModeItem &SwFmt::GetWordLineMode(sal_Bool bInP) const
+inline const SvxWordLineModeItem &SwFmt::GetWordLineMode(bool bInP) const
{ return aSet.GetWordLineMode(bInP); }
-inline const SvxContourItem &SwFmt::GetContour(sal_Bool bInP) const
+inline const SvxContourItem &SwFmt::GetContour(bool bInP) const
{ return aSet.GetContour(bInP); }
-inline const SvxKerningItem &SwFmt::GetKerning(sal_Bool bInP) const
+inline const SvxKerningItem &SwFmt::GetKerning(bool bInP) const
{ return aSet.GetKerning(bInP); }
-inline const SvxUnderlineItem &SwFmt::GetUnderline(sal_Bool bInP) const
+inline const SvxUnderlineItem &SwFmt::GetUnderline(bool bInP) const
{ return aSet.GetUnderline(bInP); }
-inline const SvxOverlineItem &SwFmt::GetOverline(sal_Bool bInP) const
+inline const SvxOverlineItem &SwFmt::GetOverline(bool bInP) const
{ return aSet.GetOverline(bInP); }
-inline const SvxCrossedOutItem &SwFmt::GetCrossedOut(sal_Bool bInP) const
+inline const SvxCrossedOutItem &SwFmt::GetCrossedOut(bool bInP) const
{ return aSet.GetCrossedOut(bInP); }
-inline const SvxFontHeightItem &SwFmt::GetSize(sal_Bool bInP) const
+inline const SvxFontHeightItem &SwFmt::GetSize(bool bInP) const
{ return aSet.GetSize(bInP); }
-inline const SvxPropSizeItem &SwFmt::GetPropSize(sal_Bool bInP) const
+inline const SvxPropSizeItem &SwFmt::GetPropSize(bool bInP) const
{ return aSet.GetPropSize(bInP); }
-inline const SvxFontItem &SwFmt::GetFont(sal_Bool bInP) const
+inline const SvxFontItem &SwFmt::GetFont(bool bInP) const
{ return aSet.GetFont(bInP); }
-inline const SvxFontItem &SwFmt::GetCJKFont(sal_Bool bInP) const
+inline const SvxFontItem &SwFmt::GetCJKFont(bool bInP) const
{ return aSet.GetCJKFont(bInP); }
-inline const SvxFontItem &SwFmt::GetCTLFont(sal_Bool bInP) const
+inline const SvxFontItem &SwFmt::GetCTLFont(bool bInP) const
{ return aSet.GetCTLFont(bInP); }
-inline const SvxColorItem &SwFmt::GetColor(sal_Bool bInP) const
+inline const SvxColorItem &SwFmt::GetColor(bool bInP) const
{ return aSet.GetColor(bInP); }
- inline const SvxCharSetColorItem &SwFmt::GetCharSetColor(sal_Bool bInP) const
+ inline const SvxCharSetColorItem &SwFmt::GetCharSetColor(bool bInP) const
{ return aSet.GetCharSetColor(bInP); }
-inline const SvxLanguageItem &SwFmt::GetLanguage(sal_Bool bInP) const
+inline const SvxLanguageItem &SwFmt::GetLanguage(bool bInP) const
{ return aSet.GetLanguage(bInP); }
-inline const SvxEscapementItem &SwFmt::GetEscapement(sal_Bool bInP) const
+inline const SvxEscapementItem &SwFmt::GetEscapement(bool bInP) const
{ return aSet.GetEscapement(bInP); }
-inline const SvxCaseMapItem &SwFmt::GetCaseMap(sal_Bool bInP) const
+inline const SvxCaseMapItem &SwFmt::GetCaseMap(bool bInP) const
{ return aSet.GetCaseMap(bInP); }
-inline const SvxNoHyphenItem &SwFmt::GetNoHyphenHere(sal_Bool bInP) const
+inline const SvxNoHyphenItem &SwFmt::GetNoHyphenHere(bool bInP) const
{ return aSet.GetNoHyphenHere(bInP); }
-inline const SvxBlinkItem &SwFmt::GetBlink(sal_Bool bInP) const
+inline const SvxBlinkItem &SwFmt::GetBlink(bool bInP) const
{ return aSet.GetBlink(bInP); }
-inline const SvxBrushItem &SwFmt::GetChrBackground(sal_Bool bInP) const
+inline const SvxBrushItem &SwFmt::GetChrBackground(bool bInP) const
{ return aSet.GetChrBackground(bInP); }
-inline const SvxBrushItem &SwFmt::GetChrHighlight(sal_Bool bInP) const
+inline const SvxBrushItem &SwFmt::GetChrHighlight(bool bInP) const
{ return aSet.GetChrHighlight(bInP); }
-inline const SvxEmphasisMarkItem &SwFmt::GetEmphasisMark( sal_Bool bInP ) const
+inline const SvxEmphasisMarkItem &SwFmt::GetEmphasisMark( bool bInP ) const
{ return aSet.GetEmphasisMark(bInP); }
-inline const SvxTwoLinesItem &SwFmt::Get2Lines( sal_Bool bInP ) const
+inline const SvxTwoLinesItem &SwFmt::Get2Lines( bool bInP ) const
{ return aSet.Get2Lines(bInP); }
-inline const SvxCharScaleWidthItem &SwFmt::GetCharScaleW( sal_Bool bInP ) const
+inline const SvxCharScaleWidthItem &SwFmt::GetCharScaleW( bool bInP ) const
{ return aSet.GetCharScaleW(bInP); }
-inline const SvxCharRotateItem &SwFmt::GetCharRotate( sal_Bool bInP ) const
+inline const SvxCharRotateItem &SwFmt::GetCharRotate( bool bInP ) const
{ return aSet.GetCharRotate(bInP); }
-inline const SvxCharReliefItem &SwFmt::GetCharRelief( sal_Bool bInP ) const
+inline const SvxCharReliefItem &SwFmt::GetCharRelief( bool bInP ) const
{ return aSet.GetCharRelief(bInP); }
-inline const SvxCharHiddenItem &SwFmt::GetCharHidden( sal_Bool bInP ) const
+inline const SvxCharHiddenItem &SwFmt::GetCharHidden( bool bInP ) const
{ return aSet.GetCharHidden(bInP); }
-inline const SvxBoxItem &SwFmt::GetCharBorder( sal_Bool bInP ) const
+inline const SvxBoxItem &SwFmt::GetCharBorder( bool bInP ) const
{ return aSet.GetCharBorder(bInP); }
-inline const SvxShadowItem &SwFmt::GetCharShadow( sal_Bool bInP ) const
+inline const SvxShadowItem &SwFmt::GetCharShadow( bool bInP ) const
{ return aSet.GetCharShadow(bInP); }
#endif