summaryrefslogtreecommitdiff
path: root/sw/inc/expfld.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-04 15:23:52 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-04 15:48:48 +0100
commit720d0592d90d4a54cf09d6bc3795fb7e97851944 (patch)
tree7b0af8488db9c061787b322b5dd5345479a2b3fc /sw/inc/expfld.hxx
parent94317a3af6fd2d41d34cca8d409301b05bfffc3d (diff)
Convert all Query/Put Value() to bool
Diffstat (limited to 'sw/inc/expfld.hxx')
-rw-r--r--sw/inc/expfld.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index 00598528e891..3876781146f9 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -127,8 +127,8 @@ public:
virtual USHORT GetSubType() const;
virtual void SetSubType(USHORT nType);
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
static USHORT GetReferenceTextPos( const SwFmtFld& rFmt, SwDoc& rDoc);
// #i82544#
@@ -204,8 +204,8 @@ public:
const SwNode* GetOutlineChgNd() const { return pOutlChgNd; }
void SetOutlineChgNd( const SwNode* p ) { pOutlChgNd = p; }
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
};
inline void SwSetExpFieldType::SetType( USHORT nTyp )
@@ -268,8 +268,8 @@ public:
// Die Formel
virtual String GetPar2() const;
virtual void SetPar2(const String& rStr);
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
};
inline const String& SwSetExpField::GetExpStr() const
@@ -347,8 +347,8 @@ public:
virtual USHORT GetSubType() const;
virtual void SetSubType(USHORT nSub);
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
};
/*--------------------------------------------------------------------
@@ -428,8 +428,8 @@ public:
// Die Formel
virtual String GetPar2() const;
virtual void SetPar2(const String& rStr);
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
};