diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-09 12:32:03 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-09 12:32:03 +0000 |
commit | c7012e4a358d17e5e79ba61a84ad553d96526e1a (patch) | |
tree | c97fe62c5fa4319f3bf06e46f0d46b1dd58b2262 /svx/source/svdraw/svdcrtv.cxx | |
parent | 118d0f2a80f1d15eec494156c7413f9e66101ab9 (diff) |
INTEGRATION: CWS aw048 (1.23.54); FILE MERGED
2007/04/16 16:38:07 aw 1.23.54.1: #i68562# force solid circle creation to non-solid on demand
Diffstat (limited to 'svx/source/svdraw/svdcrtv.cxx')
-rw-r--r-- | svx/source/svdraw/svdcrtv.cxx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx index 3b81b9ebbaf1..5f8c61f89eea 100644 --- a/svx/source/svdraw/svdcrtv.cxx +++ b/svx/source/svdraw/svdcrtv.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svdcrtv.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: obo $ $Date: 2007-01-22 15:16:33 $ + * last change: $Author: kz $ $Date: 2007-05-09 13:32:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -101,6 +101,11 @@ #include "fmobj.hxx" #endif +// #i68562# +#ifndef _SVDOCIRC_HXX +#include <svdocirc.hxx> +#endif + //////////////////////////////////////////////////////////////////////////////////////////////////// class ImplConnectMarkerOverlay @@ -832,6 +837,15 @@ void SdrCreateView::ShowCreateObj(/*OutputDevice* pOut, BOOL bFull*/) } } + // #i68562# Force to non-solid dragging when not creating a full circle and up to step three + if(bUseSolidDragging + && pAktCreate->ISA(SdrCircObj) + && OBJ_CIRC != (SdrObjKind)(static_cast< SdrCircObj* >(pAktCreate)->GetObjIdentifier()) + && aDragStat.GetPointAnz() < 4L) + { + bUseSolidDragging = false; + } + if(bUseSolidDragging) { basegfx::B2DPolyPolygon aDragPolyPolygon; |