diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:13:22 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:13:22 +0000 |
commit | 086682c54781b8bc7b91d3b3e25bf73add41b31e (patch) | |
tree | 81a50c52d989b58572832bae39a67af263daff2b /svx/source/svdraw/svdogrp.cxx | |
parent | a351ee50e0baaef59ededd816533cef691e98721 (diff) |
INTEGRATION: CWS sb59 (1.28.60); FILE MERGED
2006/08/28 12:58:03 sb 1.28.60.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svx/source/svdraw/svdogrp.cxx')
-rw-r--r-- | svx/source/svdraw/svdogrp.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx index c93d184d0c09..b983426d5264 100644 --- a/svx/source/svdraw/svdogrp.cxx +++ b/svx/source/svdraw/svdogrp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svdogrp.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: obo $ $Date: 2006-09-17 05:55:09 $ + * last change: $Author: obo $ $Date: 2006-10-12 13:13:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -459,7 +459,9 @@ SdrObject* SdrObjGroup::CheckHit(const Point& rPnt, USHORT nTol, const SetOfByte if (pSub->GetObjCount()!=0) { return pSub->CheckHit(rPnt,nTol,pVisiLayer); } else { // ansonsten ist es eine leere Gruppe - if (pVisiLayer==NULL || pVisiLayer->IsSet(nLayerId)) { + if (pVisiLayer==NULL || + pVisiLayer->IsSet(sal::static_int_cast< sal_uInt8 >(nLayerId))) + { Rectangle aAussen(aOutRect); aAussen.Top() -=nTol; aAussen.Left() -=nTol; |