summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdcrtv.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 22:18:46 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 22:18:46 +0000
commit1b3551a91bad0adcbd2e4fffed1c34a376f11b9d (patch)
treec6f8149c44e794d562b5818eda4fe7b41e7d43f2 /svx/source/svdraw/svdcrtv.cxx
parent344ef4c914ed7ecbbff7f3b42c67bea4079d7259 (diff)
INTEGRATION: CWS aw033 (1.27.14); FILE MERGED
2008/07/10 13:00:55 aw 1.27.14.4: #i39532# XOutputDevice removed, PrepareDelete removed 2008/05/14 14:03:41 aw 1.27.14.3: RESYNC: (1.27-1.28); FILE MERGED 2008/04/16 05:30:45 aw 1.27.14.2: diverse optimisations and fixes for primitives. Support for LazyInvalidation. 2008/01/22 12:29:31 aw 1.27.14.1: adaptions and 1st stripping
Diffstat (limited to 'svx/source/svdraw/svdcrtv.cxx')
-rw-r--r--svx/source/svdraw/svdcrtv.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index 5195e3cf4827..1c835c93fc07 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svdcrtv.cxx,v $
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
* This file is part of OpenOffice.org.
*
@@ -33,7 +33,6 @@
#include <svx/svdcrtv.hxx>
#include "xattr.hxx"
-#include "svdxout.hxx"
#include <svx/svdundo.hxx>
#include <svx/svdocapt.hxx> // Spezialbehandlung: Nach dem Create transparente Fuellung
#include <svx/svdoedge.hxx>
@@ -615,6 +614,9 @@ void SdrCreateView::MovCreateObj(const Point& rPnt)
aDragStat.NextMove(aPnt);
pAktCreate->MovCreate(aDragStat);
+ // MovCreate changes the object, so use ActionChanged() on it
+ pAktCreate->ActionChanged();
+
// replace for DrawCreateObjDiff
HideCreateObj();
ShowCreateObj();
@@ -812,8 +814,7 @@ void SdrCreateView::ShowCreateObj(/*OutputDevice* pOut, BOOL bFull*/)
if(pAktCreate->ISA(SdrRectObj))
{
// ensure object has some size, necessary for SdrTextObj because
- // there are still untested divisions by that sizes in DoPaintObject
- // stuff (see assert in SdrRectObj::DoPaintObject).
+ // there are still untested divisions by that sizes
Rectangle aCurrentSnapRect(pAktCreate->GetSnapRect());
if(!(aCurrentSnapRect.GetWidth() > 1 && aCurrentSnapRect.GetHeight() > 1))