summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-05 14:13:39 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:18 +0200
commitc72ce293de07e2c8f13a3565fdd681773dc51144 (patch)
tree39017819e554037253d7065e330bbbc6fe480f79 /include
parentc54b276beb30c36cee4d7cf2ccbd552c526777e7 (diff)
svx: sal_Bool->bool
Change-Id: I5a6a57f708a3a5ce1f065e341ae9da24e0c91499
Diffstat (limited to 'include')
-rw-r--r--include/svx/langbox.hxx20
-rw-r--r--include/svx/lathe3d.hxx10
-rw-r--r--include/svx/linectrl.hxx10
3 files changed, 20 insertions, 20 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx
index c6c6de6c8d3e..de5289b0b7b4 100644
--- a/include/svx/langbox.hxx
+++ b/include/svx/langbox.hxx
@@ -58,32 +58,32 @@ private:
OUString m_aAllString;
com::sun::star::uno::Sequence< sal_Int16 > *m_pSpellUsedLang;
SvtLanguageTable* m_pLangTable;
- sal_Int16 m_nLangList;
- sal_Bool m_bHasLangNone;
- sal_Bool m_bLangNoneIsLangAll;
- sal_Bool m_bWithCheckmark;
+ sal_Int16 m_nLangList;
+ bool m_bHasLangNone;
+ bool m_bLangNoneIsLangAll;
+ bool m_bWithCheckmark;
SVX_DLLPRIVATE void Init();
SVX_DLLPRIVATE sal_Int32 ImplInsertImgEntry( const OUString& rEntry, sal_Int32 nPos, bool bChecked );
SVX_DLLPRIVATE sal_Int32 ImplInsertLanguage(LanguageType, sal_Int32 nPos, sal_Int16 nType);
public:
- SvxLanguageBox(Window* pParent, WinBits nBits, sal_Bool bCheck = sal_False);
+ SvxLanguageBox(Window* pParent, WinBits nBits, bool bCheck = false);
~SvxLanguageBox();
void SetLanguageList( sal_Int16 nLangList,
- sal_Bool bHasLangNone, sal_Bool bLangNoneIsLangAll = sal_False,
- sal_Bool bCheckSpellAvail = sal_False );
+ bool bHasLangNone, bool bLangNoneIsLangAll = false,
+ bool bCheckSpellAvail = false );
sal_Int32 InsertLanguage( const LanguageType eLangType, sal_Int32 nPos = LISTBOX_APPEND );
sal_Int32 InsertDefaultLanguage( sal_Int16 nType, sal_Int32 nPos = LISTBOX_APPEND );
sal_Int32 InsertSystemLanguage( sal_Int32 nPos = LISTBOX_APPEND );
sal_Int32 InsertLanguage( const LanguageType eLangType,
- sal_Bool bCheckEntry, sal_Int32 nPos = LISTBOX_APPEND );
+ bool bCheckEntry, sal_Int32 nPos = LISTBOX_APPEND );
void RemoveLanguage( const LanguageType eLangType );
- void SelectLanguage( const LanguageType eLangType, sal_Bool bSelect = sal_True );
+ void SelectLanguage( const LanguageType eLangType, bool bSelect = true );
LanguageType GetSelectLanguage() const;
- sal_Bool IsLanguageSelected( const LanguageType eLangType ) const;
+ bool IsLanguageSelected( const LanguageType eLangType ) const;
};
#endif
diff --git a/include/svx/lathe3d.hxx b/include/svx/lathe3d.hxx
index 108a8553fb96..ae2f2b2eb9e3 100644
--- a/include/svx/lathe3d.hxx
+++ b/include/svx/lathe3d.hxx
@@ -71,23 +71,23 @@ private:
{ return ((const Svx3DEndAngleItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_END_ANGLE)).GetValue(); }
// #107245# GetSmoothNormals() for bLatheSmoothed
- sal_Bool GetSmoothNormals() const
+ bool GetSmoothNormals() const
{ return ((const Svx3DSmoothNormalsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_SMOOTH_NORMALS)).GetValue(); }
// #107245# GetSmoothLids() for bLatheSmoothFrontBack
- sal_Bool GetSmoothLids() const
+ bool GetSmoothLids() const
{ return ((const Svx3DSmoothLidsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_SMOOTH_LIDS)).GetValue(); }
// #107245# GetCharacterMode() for bLatheCharacterMode
- sal_Bool GetCharacterMode() const
+ bool GetCharacterMode() const
{ return ((const Svx3DCharacterModeItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_CHARACTER_MODE)).GetValue(); }
// #107245# GetCloseFront() for bLatheCloseFront
- sal_Bool GetCloseFront() const
+ bool GetCloseFront() const
{ return ((const Svx3DCloseFrontItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_CLOSE_FRONT)).GetValue(); }
// #107245# GetCloseBack() for bLatheCloseBack
- sal_Bool GetCloseBack() const
+ bool GetCloseBack() const
{ return ((const Svx3DCloseBackItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_CLOSE_BACK)).GetValue(); }
virtual sal_uInt16 GetObjIdentifier() const;
diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx
index 0744085c59ff..9581386c2de5 100644
--- a/include/svx/linectrl.hxx
+++ b/include/svx/linectrl.hxx
@@ -42,7 +42,7 @@ private:
XLineStyleItem* pStyleItem;
XLineDashItem* pDashItem;
- sal_Bool bUpdate;
+ bool bUpdate;
public:
SFX_DECL_TOOLBOX_CONTROL();
@@ -101,11 +101,11 @@ class SvxLineEndWindow : public SfxPopupWindow
private:
XLineEndListRef pLineEndList;
ValueSet aLineEndSet;
- sal_uInt16 nCols;
- sal_uInt16 nLines;
- sal_uIntPtr nLineEndWidth;
+ sal_uInt16 nCols;
+ sal_uInt16 nLines;
+ sal_uIntPtr nLineEndWidth;
Size aBmpSize;
- sal_Bool bPopupMode;
+ bool bPopupMode;
bool mbInResize;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > mxFrame;