summaryrefslogtreecommitdiff
path: root/svx/source/sdr/contact/viewcontact.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-07 16:32:05 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-07 16:32:05 +0000
commit7ba255b3d9e1fa60329d548df6f3b1b8f7e7ae57 (patch)
tree8b9362b0a2041c9c8a9b1f7d7d4328bb9657194a /svx/source/sdr/contact/viewcontact.cxx
parentd605f39a6c8b783589cd2abc95443c9be981334c (diff)
INTEGRATION: CWS aw028 (1.6.332); FILE MERGED
2005/02/24 21:30:00 aw 1.6.332.1: #i42815#
Diffstat (limited to 'svx/source/sdr/contact/viewcontact.cxx')
-rw-r--r--svx/source/sdr/contact/viewcontact.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/svx/source/sdr/contact/viewcontact.cxx b/svx/source/sdr/contact/viewcontact.cxx
index 5c09f36b9dae..04cad1dd4ca8 100644
--- a/svx/source/sdr/contact/viewcontact.cxx
+++ b/svx/source/sdr/contact/viewcontact.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewcontact.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2004-10-12 10:07:13 $
+ * last change: $Author: vg $ $Date: 2005-03-07 17:32:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -388,6 +388,11 @@ namespace sdr
// React on changes of the object of this ViewContact
void ViewContact::ActionChanged()
{
+ // #i42815#
+ // Invalidate paint rectangle first, else calls to ObjectGettingPotentiallyVisible
+ // may use the old one. Before, this was done at the end of this method.
+ InvalidatePaintRectangle();
+
// check existing animation. This may create or delete an AnimationInfo.
CheckAnimationFeatures();
@@ -411,9 +416,6 @@ namespace sdr
pCandidate->ActionChanged();
}
-
- // also invalidate the PaintRectangle, this may have changed now, too.
- InvalidatePaintRectangle();
}
// Does this ViewContact support animation? Default is sal_False