diff options
author | Alexandre Fournier <fou@leila.(none)> | 2010-11-06 01:33:05 +0100 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-11-06 18:21:27 -0500 |
commit | a93c9517dc52b1d9c22a0e69f9d92c119983f7fe (patch) | |
tree | 10d0f65563b4c93e9532ad2b2e351f60022a17c4 /starmath/inc/symbol.hxx | |
parent | c27759cbf40a99632112cf2e2d21d64f2d3ae749 (diff) |
Removes a fair amount of BOOL variables in starmath
I uses the native bool type instead.
Some signatures containing BOOL have been left untouched when belonging to an inheritance hierarchy beyond the scope of starmath
Diffstat (limited to 'starmath/inc/symbol.hxx')
-rw-r--r-- | starmath/inc/symbol.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index 1422550ff161..f35be53d1c09 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -85,13 +85,13 @@ private: String m_aExportName; String m_aSetName; sal_Unicode m_cChar; - BOOL m_bPredefined; - BOOL m_bDocSymbol; + bool m_bPredefined; + bool m_bDocSymbol; public: SmSym(); SmSym(const String& rName, const Font& rFont, sal_Unicode cChar, - const String& rSet, BOOL bIsPredefined = FALSE); + const String& rSet, bool bIsPredefined = false); SmSym(const SmSym& rSymbol); SmSym& operator = (const SmSym& rSymbol); @@ -107,14 +107,14 @@ public: //! because ten the key would not be the same as its supposed copy here // void SetName( const String &rTxt ) { m_aName = rTxt; } - BOOL IsPredefined() const { return m_bPredefined; } + bool IsPredefined() const { return m_bPredefined; } const String & GetSymbolSetName() const { return m_aSetName; } void SetSymbolSetName( const String &rName ) { m_aSetName = rName; } const String & GetExportName() const { return m_aExportName; } void SetExportName( const String &rName ) { m_aExportName = rName; } - BOOL IsDocSymbol() const { return m_bDocSymbol; } - void SetDocSymbol( BOOL bVal ) { m_bDocSymbol = bVal; } + bool IsDocSymbol() const { return m_bDocSymbol; } + void SetDocSymbol( bool bVal ) { m_bDocSymbol = bVal; } // true if rSymbol has the same name, font and character bool IsEqualInUI( const SmSym& rSymbol ) const; |