summaryrefslogtreecommitdiff
path: root/sw/inc
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
parent94317a3af6fd2d41d34cca8d409301b05bfffc3d (diff)
Convert all Query/Put Value() to bool
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/authfld.hxx8
-rw-r--r--sw/inc/chpfld.hxx4
-rw-r--r--sw/inc/dbfld.hxx28
-rw-r--r--sw/inc/ddefld.hxx4
-rw-r--r--sw/inc/docufld.hxx64
-rw-r--r--sw/inc/expfld.hxx20
-rw-r--r--sw/inc/fchrfmt.hxx4
-rw-r--r--sw/inc/fldbas.hxx8
-rw-r--r--sw/inc/flddat.hxx4
-rw-r--r--sw/inc/flddropdown.hxx4
-rw-r--r--sw/inc/fmtanchr.hxx4
-rw-r--r--sw/inc/fmtautofmt.hxx4
-rw-r--r--sw/inc/fmtclds.hxx4
-rw-r--r--sw/inc/fmtcnct.hxx2
-rw-r--r--sw/inc/fmtfsize.hxx4
-rw-r--r--sw/inc/fmtftntx.hxx4
-rw-r--r--sw/inc/fmtinfmt.hxx4
-rw-r--r--sw/inc/fmtline.hxx4
-rw-r--r--sw/inc/fmtornt.hxx8
-rw-r--r--sw/inc/fmtpdsc.hxx4
-rw-r--r--sw/inc/fmtruby.hxx4
-rw-r--r--sw/inc/fmtsrnd.hxx4
-rw-r--r--sw/inc/fmturl.hxx4
-rw-r--r--sw/inc/fmtwrapinfluenceonobjpos.hxx4
-rw-r--r--sw/inc/grfatr.hxx20
-rw-r--r--sw/inc/paratr.hxx8
-rw-r--r--sw/inc/reffld.hxx4
-rw-r--r--sw/inc/tgrditem.hxx4
-rw-r--r--sw/inc/usrfld.hxx8
29 files changed, 125 insertions, 125 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 7d3ff5514b72..75efb5306afc 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -97,8 +97,8 @@ public:
virtual SwFieldType* Copy() const;
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew );
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
inline void SetDoc(SwDoc* pNewDoc) { m_pDoc = pNewDoc; }
SwDoc* GetDoc(){ return m_pDoc; }
@@ -178,8 +178,8 @@ public:
virtual void SetPar1(const String& rStr);
virtual SwFieldType* ChgTyp( SwFieldType* );
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
long GetHandle() const { return m_nHandle; }
diff --git a/sw/inc/chpfld.hxx b/sw/inc/chpfld.hxx
index 40f2f9ecf1d3..71c5d624c78d 100644
--- a/sw/inc/chpfld.hxx
+++ b/sw/inc/chpfld.hxx
@@ -90,8 +90,8 @@ public:
inline const String& GetNumber() const;
inline const String& GetTitle() const;
- 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 BYTE SwChapterField::GetLevel() const { return nLevel; }
diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx
index 4114c0cfe0d3..b20f3c53cf12 100644
--- a/sw/inc/dbfld.hxx
+++ b/sw/inc/dbfld.hxx
@@ -60,8 +60,8 @@ public:
const String& GetColumnName() const {return sColumn;}
const SwDBData& GetDBData() const {return aDBData;}
- 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 );
};
/*--------------------------------------------------------------------
@@ -124,8 +124,8 @@ public:
// DBName
inline const SwDBData& GetDBData() const { return ((SwDBFieldType*)GetTyp())->GetDBData(); }
- 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 SwDBField::SetExpansion(const String& rStr)
@@ -159,8 +159,8 @@ public:
// Name oder Inhalt
virtual String GetCntnt(BOOL bName = FALSE) const;
- 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 );
virtual USHORT GetSubType() const;
virtual void SetSubType(USHORT nType);
};
@@ -202,8 +202,8 @@ public:
// Condition
virtual const String& GetPar1() const;
virtual void SetPar1(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 BOOL SwDBNextSetField::IsCondValid() const
@@ -256,8 +256,8 @@ public:
virtual void SetPar2(const String& rStr);
// Die Datensatznummer steht in nFormat !!
- 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 BOOL SwDBNumSetField::IsCondValid() const
@@ -291,8 +291,8 @@ public:
virtual String Expand() const;
virtual SwField* Copy() const;
- 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 );
};
/*--------------------------------------------------------------------
@@ -324,8 +324,8 @@ public:
inline long GetSetNumber() const;
inline void SetSetNumber(long nNum);
- 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 long SwDBSetNumberField::GetSetNumber() const
diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx
index d9a011461eba..4020b6a8249d 100644
--- a/sw/inc/ddefld.hxx
+++ b/sw/inc/ddefld.hxx
@@ -63,8 +63,8 @@ public:
virtual SwFieldType* Copy() const;
virtual const String& GetName() const;
- 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 );
String GetCmd() const;
void SetCmd( const String& rStr );
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 8483cf7b2d39..510e2f0ddbc4 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -184,8 +184,8 @@ public:
virtual USHORT GetSubType() const;
// virtual void SetSubType(USHORT nSub); // OM: entfernt, da unbenoetigt und gefaehrlich
- 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 );
const String& GetUserString() const { return sUserStr; }
void SetUserString( const String& rS ) { sUserStr = rS; }
@@ -221,8 +221,8 @@ public:
inline void SetExpansion(const String& rStr) { aContent = rStr; }
inline const String& GetContent() const { return aContent; }
- 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 );
};
/*--------------------------------------------------------------------
@@ -256,8 +256,8 @@ public:
inline void SetExpansion(const String& rStr) { aContent = rStr; }
inline const String& GetContent() const { return aContent; }
- 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 );
};
/*--------------------------------------------------------------------
@@ -285,8 +285,8 @@ public:
virtual String Expand() const;
virtual SwField* Copy() const;
- 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 );
};
@@ -326,8 +326,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 );
};
/*--------------------------------------------------------------------
@@ -398,8 +398,8 @@ public:
virtual USHORT GetSubType() const;
// virtual void SetSubType(USHORT nSub); // OM: entfernt, da unbenoetigt und gefaehrlich
- 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 );
};
/*--------------------------------------------------------------------
@@ -435,8 +435,8 @@ public:
// Bedingung erfragen/setzen
virtual const String& GetPar1() const;
virtual void SetPar1(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 );
};
/*--------------------------------------------------------------------
@@ -484,8 +484,8 @@ public:
// Macrotext
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 );
static void CreateMacroString( String& rMacro,
const String& rMacroName,
@@ -547,8 +547,8 @@ public:
sal_uInt32 GetNumberOfParagraphs() const;
- 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 );
virtual String GetDescription() const;
};
@@ -584,8 +584,8 @@ public:
String GetName() const { return aName; }
void SetName( const String& rName ) { aName = rName; }
inline void SetExpansion(const String& rStr) { aContent = 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 );
};
/*--------------------------------------------------------------------
@@ -621,8 +621,8 @@ public:
inline void SetExpansion(const String& rStr) { aContent = 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 );
};
@@ -663,8 +663,8 @@ public:
short GetOffset() const { return nOffset; }
void SetOffset( short nOff ) { nOffset = nOff; }
- 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 );
};
/*--------------------------------------------------------------------
@@ -705,8 +705,8 @@ public:
void SetText( const String& rTxt ) { sTxt = rTxt; }
void ChangeExpansion( const SwFrm* pFrm, const SwTxtFld* pFld );
- 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 );
};
/*--------------------------------------------------------------------
@@ -745,8 +745,8 @@ public:
SwCharFmt* GetCharFmt() const
{ return ((SwJumpEditFieldType*)GetTyp())->GetCharFmt(); }
- 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 );
};
/*--------------------------------------------------------------------
@@ -792,8 +792,8 @@ public:
BOOL IsCodeURL() const { return bCodeURL; }
void SetCodeURL( BOOL bURL ) { bCodeURL = bURL; }
- 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 );
};
/*--------------------------------------------------------------------
@@ -828,8 +828,8 @@ public:
virtual const String& GetPar1() const;
virtual void SetPar1(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 );
};
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 );
};
diff --git a/sw/inc/fchrfmt.hxx b/sw/inc/fchrfmt.hxx
index ee557e8eeaba..4131b540140b 100644
--- a/sw/inc/fchrfmt.hxx
+++ b/sw/inc/fchrfmt.hxx
@@ -69,8 +69,8 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
// an das SwTxtCharFmt weiterleiten (vom SwClient)
virtual void Modify( SfxPoolItem*, SfxPoolItem* );
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index a2e08366ba24..138e54411d83 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -283,8 +283,8 @@ public:
// nur in abgeleiteten Klassen
virtual const String& GetName() const;
virtual SwFieldType* Copy() const = 0;
- 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 );
USHORT Which() const { return nWhich; }
@@ -369,8 +369,8 @@ public:
virtual void SetPar1(const String& rStr);
virtual void SetPar2(const String& rStr);
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
// hat das Feld eine Action auf dem ClickHandler ? (z.B. INetFelder,..)
BOOL HasClickHdl() const;
// ist es ein Fix-Feld?
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index d302f45a96bc..44c062d24c61 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -141,8 +141,8 @@ public:
virtual String Expand() const;
virtual SwField* Copy() const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nMId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nMId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nMId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nMId );
};
#endif // _FLDDAT_HXX
diff --git a/sw/inc/flddropdown.hxx b/sw/inc/flddropdown.hxx
index 77963bf1510a..3968e58d14b7 100644
--- a/sw/inc/flddropdown.hxx
+++ b/sw/inc/flddropdown.hxx
@@ -261,7 +261,7 @@ public:
- FIELD_PROP_PAR3 Get the help text of the field.
- FIELD_PROP_PAR4 Get the tool tip of the field.
*/
- virtual BOOL QueryValue(com::sun::star::uno::Any &rVal, USHORT nWhichId) const;
+ virtual bool QueryValue(com::sun::star::uno::Any &rVal, USHORT nWhichId) const;
/**
API: Sets a property value on the dropdown field.
@@ -273,7 +273,7 @@ public:
- FIELD_PROP_PAR3 Set the help text of the field.
- FIELD_PROP_PAR4 Set the tool tip of the field.
*/
- virtual BOOL PutValue(const com::sun::star::uno::Any &rVal, USHORT nWhichId);
+ virtual bool PutValue(const com::sun::star::uno::Any &rVal, USHORT nWhichId);
};
#endif
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx
index 3b505952e4d9..69bef7188b79 100644
--- a/sw/inc/fmtanchr.hxx
+++ b/sw/inc/fmtanchr.hxx
@@ -68,8 +68,8 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
RndStdIds GetAnchorId() const { return nAnchorId; }
USHORT GetPageNum() const { return nPageNum; }
diff --git a/sw/inc/fmtautofmt.hxx b/sw/inc/fmtautofmt.hxx
index a230943f2ab0..8e1494092d05 100644
--- a/sw/inc/fmtautofmt.hxx
+++ b/sw/inc/fmtautofmt.hxx
@@ -63,8 +63,8 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
void SetStyleHandle( boost::shared_ptr<SfxItemSet> pHandle ) { mpHandle = pHandle; }
const boost::shared_ptr<SfxItemSet> GetStyleHandle() const { return mpHandle; }
diff --git a/sw/inc/fmtclds.hxx b/sw/inc/fmtclds.hxx
index 1efcd900f358..2834a2c3a770 100644
--- a/sw/inc/fmtclds.hxx
+++ b/sw/inc/fmtclds.hxx
@@ -115,8 +115,8 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
const SwColumns &GetColumns() const { return aColumns; }
SwColumns &GetColumns() { return aColumns; }
diff --git a/sw/inc/fmtcnct.hxx b/sw/inc/fmtcnct.hxx
index 55e2212985c0..96c25a4d3517 100644
--- a/sw/inc/fmtcnct.hxx
+++ b/sw/inc/fmtcnct.hxx
@@ -59,7 +59,7 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SwFlyFrmFmt* GetPrev() const { return (SwFlyFrmFmt*)aPrev.GetRegisteredIn(); }
SwFlyFrmFmt* GetNext() const { return (SwFlyFrmFmt*)aNext.GetRegisteredIn(); }
diff --git a/sw/inc/fmtfsize.hxx b/sw/inc/fmtfsize.hxx
index df6d99910e91..e7bc9e1aba6b 100644
--- a/sw/inc/fmtfsize.hxx
+++ b/sw/inc/fmtfsize.hxx
@@ -80,8 +80,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SwFrmSize GetHeightSizeType() const { return eFrmHeightType; }
void SetHeightSizeType( SwFrmSize eSize ) { eFrmHeightType = eSize; }
diff --git a/sw/inc/fmtftntx.hxx b/sw/inc/fmtftntx.hxx
index f44cbc0f12c5..ee79e70d401d 100644
--- a/sw/inc/fmtftntx.hxx
+++ b/sw/inc/fmtftntx.hxx
@@ -65,8 +65,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
// will be used at time??
// void FillVariable( SbxVariable &rVar,
diff --git a/sw/inc/fmtinfmt.hxx b/sw/inc/fmtinfmt.hxx
index 75fc863b147d..355bcfc18051 100644
--- a/sw/inc/fmtinfmt.hxx
+++ b/sw/inc/fmtinfmt.hxx
@@ -68,9 +68,9 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal,
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal,
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 );
diff --git a/sw/inc/fmtline.hxx b/sw/inc/fmtline.hxx
index 7ae0e80d0350..f41edf13e7e9 100644
--- a/sw/inc/fmtline.hxx
+++ b/sw/inc/fmtline.hxx
@@ -54,8 +54,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
ULONG GetStartValue() const { return nStartValue; }
BOOL IsCount() const { return bCountLines != 0; }
diff --git a/sw/inc/fmtornt.hxx b/sw/inc/fmtornt.hxx
index 098177d4bd9b..7438bf0f72d8 100644
--- a/sw/inc/fmtornt.hxx
+++ b/sw/inc/fmtornt.hxx
@@ -60,8 +60,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
sal_Int16 GetVertOrient() const { return eOrient; }
sal_Int16 GetRelationOrient() const { return eRelation; }
@@ -98,8 +98,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
sal_Int16 GetHoriOrient() const { return eOrient; }
sal_Int16 GetRelationOrient() const { return eRelation; }
diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx
index 47ad826bc875..d6b9f1bc378d 100644
--- a/sw/inc/fmtpdsc.hxx
+++ b/sw/inc/fmtpdsc.hxx
@@ -72,8 +72,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew );
diff --git a/sw/inc/fmtruby.hxx b/sw/inc/fmtruby.hxx
index c60169140870..2386bd84c0b7 100644
--- a/sw/inc/fmtruby.hxx
+++ b/sw/inc/fmtruby.hxx
@@ -61,9 +61,9 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal,
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal,
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 );
diff --git a/sw/inc/fmtsrnd.hxx b/sw/inc/fmtsrnd.hxx
index 889c7adc6b5e..748903a8bc87 100644
--- a/sw/inc/fmtsrnd.hxx
+++ b/sw/inc/fmtsrnd.hxx
@@ -60,8 +60,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SwSurround GetSurround()const { return SwSurround( GetValue() ); }
diff --git a/sw/inc/fmturl.hxx b/sw/inc/fmturl.hxx
index ae2828899f1d..d5842cf93882 100644
--- a/sw/inc/fmturl.hxx
+++ b/sw/inc/fmturl.hxx
@@ -64,8 +64,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
void SetTargetFrameName( const String& rStr ) { sTargetFrameName = rStr; }
void SetURL( const String &rURL, BOOL bServerMap );
diff --git a/sw/inc/fmtwrapinfluenceonobjpos.hxx b/sw/inc/fmtwrapinfluenceonobjpos.hxx
index 031292514a47..e9c78abed669 100644
--- a/sw/inc/fmtwrapinfluenceonobjpos.hxx
+++ b/sw/inc/fmtwrapinfluenceonobjpos.hxx
@@ -56,8 +56,8 @@ public:
virtual int operator==( const SfxPoolItem& _rAttr ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
// direct accessors to data
void SetWrapInfluenceOnObjPos( sal_Int16 _nWrapInfluenceOnPosition );
diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx
index bee336490450..cdf9487dc2c6 100644
--- a/sw/inc/grfatr.hxx
+++ b/sw/inc/grfatr.hxx
@@ -75,9 +75,9 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal,
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal,
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 );
inline SwMirrorGrf& operator=( const SwMirrorGrf& rMirrorGrf )
@@ -127,9 +127,9 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal,
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal,
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 );
void SetUnrotatedSize( const Size& rSz ) { aUnrotatedSize = rSz; }
@@ -236,9 +236,9 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal,
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal,
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 );
@@ -276,9 +276,9 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal,
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal,
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 );
};
@@ -300,9 +300,9 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal,
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal,
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 );
};
diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx
index 68b9ba203ba3..fb3c8e4cb3ff 100644
--- a/sw/inc/paratr.hxx
+++ b/sw/inc/paratr.hxx
@@ -79,8 +79,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
inline BYTE GetLines() const { return nLines; }
inline BYTE &GetLines() { return nLines; }
@@ -165,8 +165,8 @@ public:
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
};
class SwParaConnectBorderItem : public SfxBoolItem
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index b2b61dff6434..f0425c4e4ab4 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -149,8 +149,8 @@ public:
virtual void SetPar1(const String& rStr);
virtual String GetPar2() const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
void ConvertProgrammaticToUIName();
diff --git a/sw/inc/tgrditem.hxx b/sw/inc/tgrditem.hxx
index ca9ba7fd6db9..0788f1dba9d8 100644
--- a/sw/inc/tgrditem.hxx
+++ b/sw/inc/tgrditem.hxx
@@ -63,8 +63,8 @@ public:
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SwTextGridItem& operator=( const SwTextGridItem& );
diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx
index b755cbc1631b..55079866af5d 100644
--- a/sw/inc/usrfld.hxx
+++ b/sw/inc/usrfld.hxx
@@ -73,8 +73,8 @@ public:
BOOL IsDeleted() const { return bDeleted; }
void SetDeleted( BOOL b ) { bDeleted = b; }
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nMId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nMId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nMId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nMId );
};
inline BOOL SwUserFieldType::IsValid() const
@@ -125,8 +125,8 @@ public:
// Inhalt
virtual String GetPar2() const;
virtual void SetPar2(const String& rStr);
- virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
- virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId );
};
#endif // _USRFLD_HXX