summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/outliner/outlin2.cxx2
-rw-r--r--editeng/source/uno/unoforou.cxx4
-rw-r--r--include/editeng/outliner.hxx2
-rw-r--r--include/editeng/swafopt.hxx62
4 files changed, 35 insertions, 35 deletions
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
index ea53121f112d..ea4624851d46 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -527,7 +527,7 @@ void Outliner::SetVertical( sal_Bool b )
pEditEngine->SetVertical( b );
}
-sal_Bool Outliner::IsVertical() const
+bool Outliner::IsVertical() const
{
return pEditEngine->IsVertical();
}
diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx
index 330068871280..d671d9e0c025 100644
--- a/editeng/source/uno/unoforou.cxx
+++ b/editeng/source/uno/unoforou.cxx
@@ -298,7 +298,7 @@ Rectangle SvxOutlinerForwarder::GetCharBounds( sal_Int32 nPara, sal_uInt16 nInde
// don't rotate for vertical text.
Size aSize( rOutliner.CalcTextSize() );
::std::swap( aSize.Width(), aSize.Height() );
- bool bIsVertical( rOutliner.IsVertical() == sal_True );
+ bool bIsVertical( rOutliner.IsVertical() );
// #108900# Handle virtual position one-past-the end of the string
if( nIndex >= GetTextLen(nPara) )
@@ -377,7 +377,7 @@ sal_Bool SvxOutlinerForwarder::GetIndexAtPoint( const Point& rPos, sal_Int32& nP
::std::swap( aSize.Width(), aSize.Height() );
Point aEEPos( SvxEditSourceHelper::UserSpaceToEE( rPos,
aSize,
- rOutliner.IsVertical() == sal_True ));
+ rOutliner.IsVertical() ));
EPosition aDocPos = rOutliner.GetEditEngine().FindDocPosition( aEEPos );
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 1e34d82b8ca9..609c9607f4a9 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -668,7 +668,7 @@ public:
sal_uInt16 GetMode() const { return nOutlinerMode; }
void SetVertical( sal_Bool bVertical );
- sal_Bool IsVertical() const;
+ bool IsVertical() const;
void SetFixedCellHeight( sal_Bool bUseFixedCellHeight );
diff --git a/include/editeng/swafopt.hxx b/include/editeng/swafopt.hxx
index 39b1daba3f3c..25e1017df56a 100644
--- a/include/editeng/swafopt.hxx
+++ b/include/editeng/swafopt.hxx
@@ -75,49 +75,49 @@ struct EDITENG_DLLPUBLIC SvxSwAutoFmtFlags
sal_uInt8 nRightMargin;
- sal_Bool bAutoCorrect : 1;
- sal_Bool bCptlSttSntnc : 1;
- sal_Bool bCptlSttWrd : 1;
- sal_Bool bChkFontAttr : 1;
+ bool bAutoCorrect : 1;
+ bool bCptlSttSntnc : 1;
+ bool bCptlSttWrd : 1;
+ bool bChkFontAttr : 1;
- sal_Bool bChgUserColl : 1;
- sal_Bool bChgEnumNum : 1;
+ bool bChgUserColl : 1;
+ bool bChgEnumNum : 1;
- sal_Bool bAFmtByInput : 1;
- sal_Bool bDelEmptyNode : 1;
- sal_Bool bSetNumRule : 1;
+ bool bAFmtByInput : 1;
+ bool bDelEmptyNode : 1;
+ bool bSetNumRule : 1;
- sal_Bool bChgOrdinalNumber : 1;
- sal_Bool bChgToEnEmDash : 1;
- sal_Bool bAddNonBrkSpace : 1;
- sal_Bool bChgWeightUnderl : 1;
- sal_Bool bSetINetAttr : 1;
+ bool bChgOrdinalNumber : 1;
+ bool bChgToEnEmDash : 1;
+ bool bAddNonBrkSpace : 1;
+ bool bChgWeightUnderl : 1;
+ bool bSetINetAttr : 1;
- sal_Bool bSetBorder : 1;
- sal_Bool bCreateTable : 1;
- sal_Bool bReplaceStyles : 1;
- sal_Bool bDummy : 1;
+ bool bSetBorder : 1;
+ bool bCreateTable : 1;
+ bool bReplaceStyles : 1;
+ bool bDummy : 1;
- sal_Bool bWithRedlining : 1;
+ bool bWithRedlining : 1;
- sal_Bool bRightMargin : 1;
+ bool bRightMargin : 1;
- sal_Bool bAutoCompleteWords : 1;
- sal_Bool bAutoCmpltCollectWords : 1;
- sal_Bool bAutoCmpltEndless : 1;
+ bool bAutoCompleteWords : 1;
+ bool bAutoCmpltCollectWords : 1;
+ bool bAutoCmpltEndless : 1;
// -- under NT here starts a new long
- sal_Bool bAutoCmpltAppendBlanc : 1;
- sal_Bool bAutoCmpltShowAsTip : 1;
+ bool bAutoCmpltAppendBlanc : 1;
+ bool bAutoCmpltShowAsTip : 1;
- sal_Bool bAFmtDelSpacesAtSttEnd : 1;
- sal_Bool bAFmtDelSpacesBetweenLines : 1;
- sal_Bool bAFmtByInpDelSpacesAtSttEnd : 1;
- sal_Bool bAFmtByInpDelSpacesBetweenLines : 1;
+ bool bAFmtDelSpacesAtSttEnd : 1;
+ bool bAFmtDelSpacesBetweenLines : 1;
+ bool bAFmtByInpDelSpacesAtSttEnd : 1;
+ bool bAFmtByInpDelSpacesBetweenLines : 1;
- sal_Bool bAutoCmpltKeepList : 1;
+ bool bAutoCmpltKeepList : 1;
// some dummies for any new options
- sal_Bool bDummy6 : 1,
+ bool bDummy6 : 1,
bDummy7 : 1,
bDummy8 : 1
;