summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh6.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-17 12:23:25 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-17 12:23:25 +0000
commit6fb926a57f1755f8561a50f613f18d790b0015df (patch)
treee9698a7b995926184daeaa59d8c572a10851fc7f /sc/source/ui/docshell/docsh6.cxx
parent0739b525f21e8a3c3be42bb68b0eaead98da7b6b (diff)
INTEGRATION: CWS os8 (1.9.142); FILE MERGED
2003/04/10 08:46:43 mba 1.9.142.1: #i2822#: use CreateMode from SFX - it might be set after construction
Diffstat (limited to 'sc/source/ui/docshell/docsh6.cxx')
-rw-r--r--sc/source/ui/docshell/docsh6.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx
index 332470e9481e..cebe621879cd 100644
--- a/sc/source/ui/docshell/docsh6.cxx
+++ b/sc/source/ui/docshell/docsh6.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docsh6.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: nn $ $Date: 2001-11-12 12:42:29 $
+ * last change: $Author: vg $ $Date: 2003-04-17 13:23:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -304,7 +304,7 @@ void ScDocShell::SetVisAreaOrSize( const Rectangle& rVisArea, BOOL bModifyStart
BOOL ScDocShell::IsOle()
{
- return (eShellMode == SFX_CREATE_MODE_EMBEDDED);
+ return (GetCreateMode() == SFX_CREATE_MODE_EMBEDDED);
}
void ScDocShell::UpdateOle( const ScViewData* pViewData, BOOL bSnapSize )
@@ -312,7 +312,7 @@ void ScDocShell::UpdateOle( const ScViewData* pViewData, BOOL bSnapSize )
// wenn's gar nicht Ole ist, kann man sich die Berechnungen sparen
// (VisArea wird dann beim Save wieder zurueckgesetzt)
- if (eShellMode == SFX_CREATE_MODE_STANDARD)
+ if (GetCreateMode() == SFX_CREATE_MODE_STANDARD)
return;
DBG_ASSERT(pViewData,"pViewData==0 bei ScDocShell::UpdateOle");