diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-10-12 13:16:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-10-12 13:16:53 +0000 |
commit | 89b0d0eb00c21d266004ac400246e60a978de0c2 (patch) | |
tree | 0ff0f9005d3d05b85f7f63a906dfa11ee0b0f9ac /svx/source/svdraw/svdglue.cxx | |
parent | a3b319399a30cca8fd7af2b85be469ac9c53712a (diff) |
INTEGRATION: CWS sj09 (1.2.200); FILE MERGED
2004/07/27 19:25:30 sj 1.2.200.1: removed assertion: already done a setgluereallyabsolute
Diffstat (limited to 'svx/source/svdraw/svdglue.cxx')
-rw-r--r-- | svx/source/svdraw/svdglue.cxx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/svx/source/svdraw/svdglue.cxx b/svx/source/svdraw/svdglue.cxx index 409a29873ccc..c2f4ec077a55 100644 --- a/svx/source/svdraw/svdglue.cxx +++ b/svx/source/svdraw/svdglue.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdglue.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2003-11-24 16:54:46 $ + * last change: $Author: hr $ $Date: 2004-10-12 14:16:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,18 +72,19 @@ void SdrGluePoint::SetReallyAbsolute(FASTBOOL bOn, const SdrObject& rObj) { - if (bReallyAbsolute!=bOn) { - if (bOn) { + if ( bReallyAbsolute != bOn ) + { + if ( bOn ) + { aPos=GetAbsolutePos(rObj); bReallyAbsolute=bOn; - } else { + } + else + { bReallyAbsolute=bOn; Point aPt(aPos); SetAbsolutePos(aPt,rObj); } - } else { - DBG_ASSERT(bOn,"SdrGluePoint::SetReallyAbsolute(FALSE) mehrfach gerufen"); - DBG_ASSERT(!bOn,"SdrGluePoint::SetReallyAbsolute(TRUE) mehrfach gerufen"); } } |