summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-05 14:22:27 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-05 18:59:59 +0100
commit33b5b467224fef8d99ba3f6f4cba3d404119c100 (patch)
tree35ff9686277b8b734ff84389bf3c25b74b3f9825 /include
parent669f1b8af15bbef41ee253f20db79062441e4634 (diff)
editeng: SvxRTFParser sal_Bool to bool
Change-Id: I2159f5c45ec6e6df965836705792cf2d71abbc42
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxrtf.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index 842cd1106bb1..4971578bbfd1 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -214,7 +214,7 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser
void ClearStyleTbl();
void ClearAttrStack();
- SvxRTFItemStackType* _GetAttrSet( int bCopyAttr=sal_False ); // Create new ItemStackType:s
+ SvxRTFItemStackType* _GetAttrSet(bool bCopyAttr = false); // Create new ItemStackType:s
void _ClearStyleAttr( SvxRTFItemStackType& rStkType );
// Sets all the attributes that are different from the current
@@ -223,7 +223,7 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser
void SetDefault( int nToken, int nValue );
// Execute pard / plain
- void RTFPardPlain( int bPard, SfxItemSet** ppSet );
+ void RTFPardPlain( bool bPard, SfxItemSet** ppSet );
void BuildWhichTbl();
@@ -273,7 +273,7 @@ protected:
virtual void InsertText() = 0;
- virtual void MovePos( int bForward = sal_True ) = 0;
+ virtual void MovePos( bool bForward = true ) = 0;
virtual void SetEndPrevPara( SvxNodeIdx*& rpNodePos,
sal_Int32& rCntPos )=0;
virtual void SetAttrInDoc( SvxRTFItemStackType &rSet );
@@ -287,7 +287,7 @@ protected:
SvStream& rIn,
::com::sun::star::uno::Reference<
::com::sun::star::document::XDocumentProperties> i_xDocProps,
- int bReadNewDoc = sal_True );
+ bool bReadNewDoc = true );
virtual ~SvxRTFParser();
bool IsNewDoc() const { return bNewDoc; }
@@ -364,7 +364,7 @@ class EDITENG_DLLPUBLIC SvxRTFItemStackType
public:
SvxRTFItemStackType( const SvxRTFItemStackType&, const SvxPosition&,
- int bCopyAttr = sal_False );
+ bool bCopyAttr = false );
~SvxRTFItemStackType();
//cmc, I'm very suspicios about SetStartPos, it doesn't change
//its children's starting position, and the implementation looks