summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-11-26 15:34:54 +0000
committerRüdiger Timm <rt@openoffice.org>2004-11-26 15:34:54 +0000
commit091326aaf2b5cc702701b62207d8618e4c79df63 (patch)
treea87a9fd8623b57422dbcb09a7ded327326ac9940 /sfx2
parenta6ad022f1d5c81a7c02d32aed336b11de0143674 (diff)
INTEGRATION: CWS leanobjects (1.46.44); FILE MERGED
2004/11/18 11:03:05 mba 1.46.44.1: #i37278#: make objects loadable on demand
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objmisc.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 0c0eaffc694d..a4e6514986f9 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: objmisc.cxx,v $
*
- * $Revision: 1.51 $
+ * $Revision: 1.52 $
*
- * last change: $Author: rt $ $Date: 2004-11-26 15:07:47 $
+ * last change: $Author: rt $ $Date: 2004-11-26 16:34:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -398,12 +398,8 @@ sal_Bool SfxObjectShell::IsModified()
{
try
{
- // TODO/LATER: an embedded object in running state can have modified component only in scripting case
- // may be this case should be handled in future too
sal_Int32 nState = xObj->getCurrentState();
- if ( nState == embed::EmbedStates::ACTIVE
- || nState == embed::EmbedStates::INPLACE_ACTIVE
- || nState == embed::EmbedStates::UI_ACTIVE )
+ if ( nState != embed::EmbedStates::LOADED )
{
uno::Reference< util::XModifiable > xModifiable( xObj->getComponent(), uno::UNO_QUERY );
if ( xModifiable.is() && xModifiable->isModified() )