summaryrefslogtreecommitdiff
path: root/embeddedobj/source/commonembedding
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 16:04:47 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 16:04:47 +0000
commit9b1ac9dbecaf19edb7d56dbfda46c809cc06ae7e (patch)
tree49e534e2f4d71d40043cf36148a40097f50d2571 /embeddedobj/source/commonembedding
parentcd2c3c0db21686a5bb47893c5303f8d4cd9c245a (diff)
INTEGRATION: CWS fwk69 (1.24.6); FILE MERGED
2007/07/19 13:00:47 mav 1.24.6.1: #i78720# fix the cloned size caching
Diffstat (limited to 'embeddedobj/source/commonembedding')
-rw-r--r--embeddedobj/source/commonembedding/embedobj.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx
index 99625efe73..5ca6c1f673 100644
--- a/embeddedobj/source/commonembedding/embedobj.cxx
+++ b/embeddedobj/source/commonembedding/embedobj.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: embedobj.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: hr $ $Date: 2007-08-02 13:31:19 $
+ * last change: $Author: hr $ $Date: 2007-08-02 17:04:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -216,6 +216,9 @@ void OCommonEmbeddedObject::SwitchStateTo_Impl( sal_Int32 nNextState )
{
if ( nNextState == embed::EmbedStates::RUNNING )
{
+ // after the object reaches the running state the cloned size is not necessary any more
+ m_bHasClonedSize = sal_False;
+
if ( m_bIsLink )
{
m_pDocHolder->SetComponent( LoadLink_Impl(), m_bReadOnly );