summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-17 12:23:25 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-17 12:23:25 +0000
commit63ba3e0127fd30e79f4bae95ac90d5612867e904 (patch)
treeaa4eeadcea0178766b68180da778465b1f32bb97 /starmath
parenta79035ef5cd8207448eb9f198ef54f495d963409 (diff)
INTEGRATION: CWS basemodelrefactoring (1.40.4); FILE MERGED
2007/07/16 14:27:39 mba 1.40.4.2: RESYNC: (1.40-1.42); FILE MERGED 2007/03/29 19:40:42 mba 1.40.4.1: #i75677#: settings extracted from DocInfo
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/unomodel.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index f726671d3b84..6f5e7835c73d 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unomodel.cxx,v $
*
- * $Revision: 1.42 $
+ * $Revision: 1.43 $
*
- * last change: $Author: kz $ $Date: 2007-06-18 16:34:02 $
+ * last change: $Author: obo $ $Date: 2007-07-17 13:23:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -43,9 +43,6 @@
#ifndef _OSL_MUTEX_HXX_
#include <osl/mutex.hxx>
#endif
-#ifndef _SFXDOCINF_HXX
-#include <sfx2/docinf.hxx>
-#endif
#ifndef _SFX_PRINTER_HXX
#include <sfx2/printer.hxx>
#endif
@@ -695,7 +692,7 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any*
throw IllegalArgumentException();
sal_Bool bReadonly = FALSE;
if ( *pValues >>= bReadonly )
- pDocSh->GetDocInfo().SetLoadReadonly( bReadonly );
+ pDocSh->SetLoadReadonly( bReadonly );
break;
}
// <--
@@ -894,7 +891,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu
// --> PB 2004-08-25 #i33095# Security Options
case HANDLE_LOAD_READONLY :
{
- *pValue <<= pDocSh->GetDocInfo().IsLoadReadonly();
+ *pValue <<= pDocSh->IsLoadReadonly();
break;
}
// <--