diff options
author | Thomas Lange <tl@openoffice.org> | 2002-12-10 10:39:45 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2002-12-10 10:39:45 +0000 |
commit | 6e9a37c317c82876b0ae670017cf7a74887f34c4 (patch) | |
tree | b14013ccad7b259a5c3eaa14deb0611ec1a5ef3c /starmath/source/cfgitem.cxx | |
parent | 6b6683b65b5e4e77b52d26ba0cc427afc02c82ce (diff) |
#106032# missing symbol-file warning removed since there is no symbol-file anymore
Diffstat (limited to 'starmath/source/cfgitem.cxx')
-rw-r--r-- | starmath/source/cfgitem.cxx | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index d3014bd5ddf8..d31884a5ba68 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cfgitem.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: tl $ $Date: 2001-08-16 09:20:25 $ + * last change: $Author: tl $ $Date: 2002-12-10 11:39:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -148,7 +148,7 @@ static const char * aMathPropNames[] = "Print/Frame", "Print/Size", "Print/ZoomFactor", - "Misc/NoSymbolsWarning", + //"Misc/NoSymbolsWarning", "Misc/IgnoreSpacesRight", "View/ToolboxVisible", "View/AutoRedraw", @@ -247,7 +247,7 @@ struct SmCfgOther BOOL bToolboxVisible; BOOL bAutoRedraw; BOOL bFormulaCursor; - BOOL bNoSymbolsWarning; + //BOOL bNoSymbolsWarning; SmCfgOther(); }; @@ -260,7 +260,7 @@ SmCfgOther::SmCfgOther() bPrintTitle = bPrintFormulaText = bPrintFrame = bIgnoreSpacesRight = bToolboxVisible = bAutoRedraw = - bFormulaCursor = bNoSymbolsWarning = TRUE; + bFormulaCursor = /*bNoSymbolsWarning =*/ TRUE; } ///////////////////////////////////////////////////////////////// @@ -960,10 +960,11 @@ void SmMathConfig::LoadOther() // Print/ZoomFactor if (pVal->hasValue() && (*pVal >>= nTmp16)) pOther->nPrintZoomFactor = nTmp16; - ++pVal; +/* ++pVal; // Misc/NoSymbolsWarning if (pVal->hasValue() && (*pVal >>= bTmp)) pOther->bNoSymbolsWarning = bTmp; +*/ ++pVal; // Misc/IgnoreSpacesRight if (pVal->hasValue() && (*pVal >>= bTmp)) @@ -1012,8 +1013,9 @@ void SmMathConfig::SaveOther() *pValue++ <<= (INT16) pOther->ePrintSize; // Print/ZoomFactor *pValue++ <<= (INT16) pOther->nPrintZoomFactor; - // Misc/NoSymbolsWarning +/* // Misc/NoSymbolsWarning *pValue++ <<= (BOOL) pOther->bNoSymbolsWarning; +*/ // Misc/IgnoreSpacesRight *pValue++ <<= (BOOL) pOther->bIgnoreSpacesRight; // View/ToolboxVisible @@ -1348,22 +1350,6 @@ void SmMathConfig::SetShowFormulaCursor( BOOL bVal ) } -BOOL SmMathConfig::IsNoSymbolsWarning() const -{ - if (!pOther) - ((SmMathConfig *) this)->LoadOther(); - return pOther->bNoSymbolsWarning; -} - - -void SmMathConfig::SetNoSymbolsWarning( BOOL bVal ) -{ - if (!pOther) - LoadOther(); - SetOtherIfNotEqual( pOther->bNoSymbolsWarning, bVal ); -} - - IMPL_LINK( SmMathConfig, TimeOut, Timer *, p ) { Save(); |