summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewdraw.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-28 10:10:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-29 07:28:57 +0100
commita566fd1c1a50f9bcb4c69a19bdf4fb1955285d93 (patch)
tree13273efcf8aa69ce39a1860dc3d111c071e6a7b3 /sw/source/uibase/uiview/viewdraw.cxx
parent411260d836e7bf6c693b9b7d16af1b36184133af (diff)
loplugin:unusedmethods
Change-Id: I2efb5c0e5735c179314c6c5de87821cee3b033e1 Reviewed-on: https://gerrit.libreoffice.org/45386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uiview/viewdraw.cxx')
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index 04e2bcdfa32b..013e40085d02 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -677,28 +677,6 @@ bool SwView::AreOnlyFormsSelected() const
return bForm;
}
-bool SwView::HasDrwObj(SdrObject const *pSdrObj) const
-{
- bool bRet = false;
-
- if (pSdrObj->IsGroupObject())
- {
- SdrObjList* pList = pSdrObj->GetSubList();
- const size_t nCnt = pList->GetObjCount();
-
- for (size_t i = 0; i < nCnt; ++i)
- {
- bRet = HasDrwObj(pList->GetObj(i));
- if (bRet)
- break;
- }
- }
- else if (SdrInventor::Default == pSdrObj->GetObjInventor() || pSdrObj->Is3DObj())
- return true;
-
- return bRet;
-}
-
bool SwView::HasOnlyObj(SdrObject const *pSdrObj, SdrInventor eObjInventor) const
{
bool bRet = false;