summaryrefslogtreecommitdiff
path: root/vcl/source/window/layout.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-01 16:36:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-02 13:58:03 +0000
commit2734a6ce77b9b104e065b0bc3cc593b107f49883 (patch)
tree716cfd23eae9b6d08bf2017ff7e1ffb736fe914a /vcl/source/window/layout.cxx
parentfd40e3ea09a481a2e97452d2244ecdfd6c3508c1 (diff)
getNonLayoutRealParent is unused
Change-Id: Ie003bc7ccc9985162ea52a1b0164118d9c2ce437
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r--vcl/source/window/layout.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index d77de1b93174..8bed6514a066 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -2676,17 +2676,6 @@ vcl::Window* getNonLayoutParent(vcl::Window *pWindow)
return pWindow;
}
-vcl::Window* getNonLayoutRealParent(vcl::Window *pWindow)
-{
- while (pWindow)
- {
- pWindow = pWindow->ImplGetParent();
- if (!pWindow || !isContainerWindow(*pWindow))
- break;
- }
- return pWindow;
-}
-
bool isVisibleInLayout(const vcl::Window *pWindow)
{
bool bVisible = true;