diff options
author | Thomas Lange <tl@openoffice.org> | 2009-09-28 10:46:54 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2009-09-28 10:46:54 +0000 |
commit | 47889e229cd51dd8a019d41dace6572e84771d18 (patch) | |
tree | 4e310b93a5b5c80cce183a139003be86f86121c4 /starmath/source/node.cxx | |
parent | 46f1a498f70bbed831ae1e01a3a016a26f298eba (diff) |
158766 avoid duplicating symbols in the catalog
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index ad3987549c0f..bfafe705f486 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -118,7 +118,7 @@ Color SmTmpDevice::Impl_GetColor( const Color& rColor ) if (OUTDEV_WINDOW == rOutDev.GetOutDevType()) aBgCol = ((Window &) rOutDev).GetDisplayBackground().GetColor(); - nNewCol = SM_MOD1()->GetColorConfig().GetColorValue(svtools::FONTCOLOR).nColor; + nNewCol = SM_MOD()->GetColorConfig().GetColorValue(svtools::FONTCOLOR).nColor; Color aTmpColor( nNewCol ); if (aBgCol.IsDark() && aTmpColor.IsDark()) @@ -2806,9 +2806,9 @@ void SmSpecialNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell SmNode::Prepare(rFormat, rDocShell); const SmSym *pSym; - SmModule *pp = SM_MOD1(); + SmModule *pp = SM_MOD(); - if (NULL != (pSym = pp->GetSymSetManager().GetSymbolByName(GetToken().aText))) + if (NULL != (pSym = pp->GetSymbolManager().GetSymbolByName(GetToken().aText))) { SetText( pSym->GetCharacter() ); GetFont() = pSym->GetFace(); |