summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 14:06:17 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 14:06:17 +0000
commit51554752c85b318ef2d1788d7f395a62345d89c5 (patch)
tree8558e33faebbc6326eadf2f67c84c77d53f11bd6 /starmath/source/unomodel.cxx
parentf333a2953be544cc2082ec2be4f476cec812fa23 (diff)
INTEGRATION: CWS tl12 (1.31.12); FILE MERGED
2005/09/27 01:49:20 tl 1.31.12.3: RESYNC: (1.32-1.33); FILE MERGED 2005/05/27 11:31:16 tl 1.31.12.2: RESYNC: (1.31-1.32); FILE MERGED 2005/05/02 08:44:11 tl 1.31.12.1: #i44468# have all documents use the same SmSymSetManager
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index ebb5373fbc09..1f9f78977d4b 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unomodel.cxx,v $
*
- * $Revision: 1.33 $
+ * $Revision: 1.34 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 15:15:01 $
+ * last change: $Author: kz $ $Date: 2005-10-05 15:06:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -664,7 +664,8 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any*
if ( *pValues >>= aSequence )
{
sal_uInt32 nSize = aSequence.getLength();
- SmSymSetManager &rManager = pDocSh->GetSymSetManager();
+ SmModule *pp = SM_MOD1();
+ SmSymSetManager &rManager = pp->GetSymSetManager();
SymbolDescriptor *pDescriptor = aSequence.getArray();
for (sal_uInt32 i = 0; i < nSize ; i++, pDescriptor++)
{
@@ -844,7 +845,8 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu
case HANDLE_SYMBOLS:
{
// this is get
- const SmSymSetManager &rManager = pDocSh->GetSymSetManager();
+ SmModule *pp = SM_MOD1();
+ const SmSymSetManager &rManager = pp->GetSymSetManager();
vector < const SmSym * > aVector;
USHORT nCount = 0;