summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-03 08:56:11 +0200
committerNoel Grandin <noel@peralex.com>2014-03-03 08:59:38 +0200
commitded5965ce8098c1d46078be37264b15ca8b5a3f1 (patch)
treebcdbbf0a6f34dacdde20ff65d2cc17f27b52b55a /include
parent82ce4dd60785cf08f7844d20fd8051d6b30c3bf1 (diff)
editeng: sal_Bool->bool
Change-Id: I51b4ae54c2c440d38879439f74d4fea39d243004
Diffstat (limited to 'include')
-rw-r--r--include/editeng/unoedsrc.hxx10
-rw-r--r--include/editeng/unoforou.hxx8
-rw-r--r--include/editeng/unoipset.hxx6
-rw-r--r--include/editeng/unolingu.hxx6
4 files changed, 15 insertions, 15 deletions
diff --git a/include/editeng/unoedsrc.hxx b/include/editeng/unoedsrc.hxx
index 5f4a7865cc4d..d12372c2dfd0 100644
--- a/include/editeng/unoedsrc.hxx
+++ b/include/editeng/unoedsrc.hxx
@@ -434,8 +434,8 @@ public:
virtual sal_Int32 GetNumberingStartValue( sal_Int32 nPara );
virtual void SetNumberingStartValue( sal_Int32 nPara, sal_Int32 nNumberingStartValue );
- virtual sal_Bool IsParaIsNumberingRestart( sal_Int32 nPara );
- virtual void SetParaIsNumberingRestart( sal_Int32 nPara, sal_Bool bParaIsNumberingRestart );
+ virtual bool IsParaIsNumberingRestart( sal_Int32 nPara );
+ virtual void SetParaIsNumberingRestart( sal_Int32 nPara, bool bParaIsNumberingRestart );
};
/** Encapsulates the document view for the purpose of unified
@@ -535,9 +535,9 @@ public:
*/
virtual bool Paste() = 0;
- virtual sal_Bool IsWrongSpelledWordAtPos( sal_Int32, sal_Int32 ) { return sal_False; };
- virtual sal_Bool IsShapeParaFocusable( ) { return sal_True; };
- virtual sal_Bool BreakParaWrongList(sal_Int32, sal_Int32&, sal_Int32&, sal_Int32){ return sal_False; };
+ virtual bool IsWrongSpelledWordAtPos( sal_Int32, sal_Int32 ) { return false; };
+ virtual bool IsShapeParaFocusable( ) { return true; };
+ virtual bool BreakParaWrongList(sal_Int32, sal_Int32&, sal_Int32&, sal_Int32){ return false; };
};
#endif
diff --git a/include/editeng/unoforou.hxx b/include/editeng/unoforou.hxx
index 5b9c719b1607..b26f2c48df58 100644
--- a/include/editeng/unoforou.hxx
+++ b/include/editeng/unoforou.hxx
@@ -33,7 +33,7 @@ class EDITENG_DLLPUBLIC SvxOutlinerForwarder : public SvxTextForwarder
{
private:
Outliner& rOutliner;
- sal_Bool bOutlinerText;
+ bool bOutlinerText;
/** this pointer may be null or point to an item set for the attribs of
the selection maAttribsSelection */
@@ -50,7 +50,7 @@ private:
mutable sal_Int32 mnParaAttribsCache;
public:
- SvxOutlinerForwarder( Outliner& rOutl, sal_Bool bOutlText = sal_False );
+ SvxOutlinerForwarder( Outliner& rOutl, bool bOutlText = false );
virtual ~SvxOutlinerForwarder();
virtual sal_Int32 GetParagraphCount() const;
@@ -102,8 +102,8 @@ public:
virtual sal_Int32 GetNumberingStartValue( sal_Int32 nPara );
virtual void SetNumberingStartValue( sal_Int32 nPara, sal_Int32 nNumberingStartValue );
- virtual sal_Bool IsParaIsNumberingRestart( sal_Int32 nPara );
- virtual void SetParaIsNumberingRestart( sal_Int32 nPara, sal_Bool bParaIsNumberingRestart );
+ virtual bool IsParaIsNumberingRestart( sal_Int32 nPara );
+ virtual void SetParaIsNumberingRestart( sal_Int32 nPara, bool bParaIsNumberingRestart );
/* this method flushes internal caches for this forwarder */
void flushCache();
diff --git a/include/editeng/unoipset.hxx b/include/editeng/unoipset.hxx
index 583abdbffe2f..01b8c0e2ca80 100644
--- a/include/editeng/unoipset.hxx
+++ b/include/editeng/unoipset.hxx
@@ -39,11 +39,11 @@ class EDITENG_DLLPUBLIC SvxItemPropertySet
mutable com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfo> m_xInfo;
const SfxItemPropertyMapEntry* _pMap;
::std::vector< SvxIDPropertyCombine* > aCombineList;
- sal_Bool mbConvertTwips;
+ bool mbConvertTwips;
SfxItemPool& mrItemPool;
public:
- SvxItemPropertySet( const SfxItemPropertyMapEntry *pMap, SfxItemPool& rPool, sal_Bool bConvertTwips = sal_False );
+ SvxItemPropertySet( const SfxItemPropertyMapEntry *pMap, SfxItemPool& rPool, bool bConvertTwips = false );
~SvxItemPropertySet();
// Methods, which work directly with the ItemSet
@@ -54,7 +54,7 @@ public:
::com::sun::star::uno::Any getPropertyValue( const SfxItemPropertySimpleEntry* pMap ) const;
void setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const ::com::sun::star::uno::Any& rVal ) const;
- sal_Bool AreThereOwnUsrAnys() const { return ( aCombineList.empty() ? sal_False : sal_True ); }
+ bool AreThereOwnUsrAnys() const { return ! aCombineList.empty(); }
::com::sun::star::uno::Any* GetUsrAnyForID(sal_uInt16 nWID) const;
void AddUsrAnyForID(const ::com::sun::star::uno::Any& rAny, sal_uInt16 nWID);
void ClearAllUsrAny();
diff --git a/include/editeng/unolingu.hxx b/include/editeng/unolingu.hxx
index 621deb9ef762..8ed168f50c72 100644
--- a/include/editeng/unolingu.hxx
+++ b/include/editeng/unolingu.hxx
@@ -61,7 +61,7 @@ class EDITENG_DLLPUBLIC LinguMgr
::com::sun::star::linguistic2::XDictionary > xChangeAll;
static LinguMgrExitLstnr *pExitLstnr;
- static sal_Bool bExiting;
+ static bool bExiting;
static ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XSpellChecker1 > GetSpell();
@@ -122,13 +122,13 @@ struct SvxAlternativeSpelling
xHyphWord;
sal_Int16 nChangedPos,
nChangedLength;
- sal_Bool bIsAltSpelling;
+ bool bIsAltSpelling;
inline SvxAlternativeSpelling();
};
inline SvxAlternativeSpelling::SvxAlternativeSpelling() :
- nChangedPos(-1), nChangedLength(-1), bIsAltSpelling(sal_False)
+ nChangedPos(-1), nChangedLength(-1), bIsAltSpelling(false)
{
}