summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-08-04 10:48:35 +0200
committerChristian Lippka <christian.lippka@sun.com>2010-08-04 10:48:35 +0200
commit20b1e3a3858913b6f63773ff5a42a972c415134d (patch)
tree8075d5682249a36a2371e61c690aa158584232d8 /sd
parentef05272548413db0482faf229e6f2653985001c1 (diff)
#i113603# only change layout shape size on init or of user call is set
Diffstat (limited to 'sd')
-rwxr-xr-xsd/source/core/sdpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 82a841a199c8..971bb2340069 100755
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2355,7 +2355,7 @@ SdrObject* SdPage::InsertAutoLayoutShape( SdrObject* pObj, PresObjKind eObjKind,
}
}
- if ( pObj && ( pObj->IsEmptyPresObj() || !pObj->ISA(SdrGrafObj) ) )
+ if ( pObj && (pObj->GetUserCall() || bInit) && ( pObj->IsEmptyPresObj() || !pObj->ISA(SdrGrafObj) ) )
pObj->AdjustToMaxRect( aRect );
return pObj;