From 3f1faf10bbeeeb50e0c46aeaf360c7c1a6b95584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 17 May 2018 10:55:50 +0100 Subject: [PATCH] UUIInteractionHelper::getParentProperty now unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I539df7d7ddddb6dd9811ac93fc7445b12e1119ae Reviewed-on: https://gerrit.libreoffice.org/54490 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- uui/CppunitTest_uui_dialogs_test.mk | 1 - uui/Library_uui.mk | 1 - uui/inc/pch/precompiled_uui.hxx | 1 - uui/source/iahndl.cxx | 11 ----------- uui/source/iahndl.hxx | 3 --- 5 files changed, 17 deletions(-) diff --git a/uui/CppunitTest_uui_dialogs_test.mk b/uui/CppunitTest_uui_dialogs_test.mk index ed652c7770b0..90d17cfbc8bc 100644 --- a/uui/CppunitTest_uui_dialogs_test.mk +++ b/uui/CppunitTest_uui_dialogs_test.mk @@ -42,7 +42,6 @@ $(eval $(call gb_CppunitTest_use_libraries,uui_dialogs_test, \ svt \ test \ tl \ - tk \ ucbhelper \ unotest \ utl \ diff --git a/uui/Library_uui.mk b/uui/Library_uui.mk index 7cef0e1da345..7ca8d9a0e984 100644 --- a/uui/Library_uui.mk +++ b/uui/Library_uui.mk @@ -35,7 +35,6 @@ $(eval $(call gb_Library_use_libraries,uui,\ svl \ svt \ svx \ - tk \ tl \ utl \ vcl \ diff --git a/uui/inc/pch/precompiled_uui.hxx b/uui/inc/pch/precompiled_uui.hxx index ca2e75cbe217..b4a72850d41a 100644 --- a/uui/inc/pch/precompiled_uui.hxx +++ b/uui/inc/pch/precompiled_uui.hxx @@ -54,7 +54,6 @@ #include #include #include -#include #include #include #include diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index ce610c46ec41..16fd450ce05c 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -72,7 +72,6 @@ #include #include #include -#include #include #include #include @@ -957,16 +956,6 @@ UUIInteractionHelper::getInteractionHandlerList( } } -vcl::Window * -UUIInteractionHelper::getParentProperty() -{ - uno::Reference< awt::XWindow > xWindow = getParentXWindow(); - if ( xWindow.is() ) - return VCLUnoHelper::GetWindow(xWindow); - - return nullptr; -} - const uno::Reference< awt::XWindow>& UUIInteractionHelper::getParentXWindow() const { diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx index cffe7bd3ba27..056b66103ad3 100644 --- a/uui/source/iahndl.hxx +++ b/uui/source/iahndl.hxx @@ -122,9 +122,6 @@ private: static void getstringfromrequest(void* pHandleData, void* pInteractionHandler); - vcl::Window * - getParentProperty(); - const css::uno::Reference< css::awt::XWindow>& getParentXWindow() const;