summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdogrp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdogrp.cxx')
-rw-r--r--svx/source/svdraw/svdogrp.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx
index b8822b5ad8..d1966d1bfc 100644
--- a/svx/source/svdraw/svdogrp.cxx
+++ b/svx/source/svdraw/svdogrp.cxx
@@ -295,32 +295,6 @@ const Rectangle& SdrObjGroup::GetSnapRect() const
// <--
}
-SdrObject* SdrObjGroup::CheckHit(const Point& rPnt, USHORT nTol, const SetOfByte* pVisiLayer) const
-{
- if (pSub->GetObjCount()!=0) {
- return pSub->CheckHit(rPnt,nTol,pVisiLayer);
- } else { // ansonsten ist es eine leere Gruppe
- if(!pVisiLayer || pVisiLayer->IsSet(sal::static_int_cast< sal_uInt8 >(GetLayer())))
- {
- Rectangle aAussen(aOutRect);
- aAussen.Top() -=nTol;
- aAussen.Left() -=nTol;
- aAussen.Bottom()+=nTol;
- aAussen.Right() +=nTol;
- nTol++;
- Rectangle aInnen(aOutRect);
- aInnen.Top() +=nTol;
- aInnen.Left() +=nTol;
- aInnen.Bottom()-=nTol;
- aInnen.Right() -=nTol;
- if (aAussen.IsInside(rPnt) && !aInnen.IsInside(rPnt)) {
- return (SdrObject*)this;
- }
- }
- }
- return NULL;
-}
-
void SdrObjGroup::operator=(const SdrObject& rObj)
{
if(rObj.IsGroupObject())