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/source/symbol.cxx | |
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/source/symbol.cxx')
-rw-r--r-- | starmath/source/symbol.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx index fd2c7ea76f76..89d99a4f5c1f 100644 --- a/starmath/source/symbol.cxx +++ b/starmath/source/symbol.cxx @@ -64,11 +64,11 @@ SmSym::SmSym() : m_aName(C2S("unknown")), m_aSetName(C2S("unknown")), m_cChar('\0'), - m_bPredefined(FALSE), - m_bDocSymbol(FALSE) + m_bPredefined(false), + m_bDocSymbol(false) { m_aExportName = m_aName; - m_aFace.SetTransparent(TRUE); + m_aFace.SetTransparent(true); m_aFace.SetAlign(ALIGN_BASELINE); } @@ -80,18 +80,18 @@ SmSym::SmSym(const SmSym& rSymbol) SmSym::SmSym(const String& rName, const Font& rFont, sal_Unicode cChar, - const String& rSet, BOOL bIsPredefined) + const String& rSet, bool bIsPredefined) { m_aName = m_aExportName = rName; m_aFace = rFont; - m_aFace.SetTransparent(TRUE); + m_aFace.SetTransparent(true); m_aFace.SetAlign(ALIGN_BASELINE); m_cChar = cChar; m_aSetName = rSet; m_bPredefined = bIsPredefined; - m_bDocSymbol = FALSE; + m_bDocSymbol = false; } @@ -298,7 +298,7 @@ void SmSymbolManager::Load() String aSymbolName( (sal_Unicode)'i' ); aSymbolName += rSym.GetName(); SmSym aSymbol( aSymbolName, aFont, rSym.GetCharacter(), - aSymbolSetName, TRUE /*bIsPredefined*/ ); + aSymbolSetName, true /*bIsPredefined*/ ); AddOrReplaceSymbol( aSymbol ); } |