From a93c9517dc52b1d9c22a0e69f9d92c119983f7fe Mon Sep 17 00:00:00 2001 From: Alexandre Fournier Date: Sat, 6 Nov 2010 01:33:05 +0100 Subject: 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 --- starmath/source/symbol.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'starmath/source/symbol.cxx') 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 ); } -- cgit