summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-01-07 08:24:44 +0000
committerRüdiger Timm <rt@openoffice.org>2005-01-07 08:24:44 +0000
commit9ed9e1c1ab94131411036f340e65efb0dfdd5b83 (patch)
tree5dcebda43646df6a808ef1914d710833069638ee /svx/source
parent20c74af29b980bc50d7807aba0ee6ad8d3cf87c5 (diff)
INTEGRATION: CWS sj13 (1.8.48); FILE MERGED
2004/12/08 00:39:34 sj 1.8.48.2: RESYNC: (1.8-1.11); FILE MERGED 2004/11/29 10:17:56 sj 1.8.48.1: #i38048# added some more broadcasting on object changes
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdoashp.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index 7f5d653959f2..cbb135ffe1e8 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdoashp.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2004-12-13 08:56:11 $
+ * last change: $Author: rt $ $Date: 2005-01-07 09:24:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1792,8 +1792,12 @@ void SdrObjCustomShape::NbcSetSnapRect( const Rectangle& rRect )
}
void SdrObjCustomShape::SetSnapRect( const Rectangle& rRect )
{
+ Rectangle aBoundRect0;
+ if ( pUserCall )
+ aBoundRect0 = GetLastBoundRect();
NbcSetSnapRect( rRect );
- InvalidateRenderGeometry();
+ BroadcastObjectChange();
+ SendUserCall(SDRUSERCALL_RESIZE,aBoundRect0);
}
void SdrObjCustomShape::NbcSetLogicRect( const Rectangle& rRect )
{
@@ -1819,8 +1823,12 @@ void SdrObjCustomShape::NbcSetLogicRect( const Rectangle& rRect )
}
void SdrObjCustomShape::SetLogicRect( const Rectangle& rRect )
{
+ Rectangle aBoundRect0;
+ if ( pUserCall )
+ aBoundRect0 = GetLastBoundRect();
NbcSetLogicRect(rRect);
- InvalidateRenderGeometry();
+ BroadcastObjectChange();
+ SendUserCall(SDRUSERCALL_RESIZE,aBoundRect0);
}
void SdrObjCustomShape::Move( const Size& rSiz )
{