From 3030a3a52f9bd89a055f65a2c5033be028da3cc2 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Thu, 12 Apr 2012 11:03:22 +0200 Subject: offapi: remove obsolete XInplaceLayout (2nd try) This is related to 10e580c57b907420e8c6d816325445a40a720e4a --- framework/inc/services/layoutmanager.hxx | 12 ++---------- framework/source/layoutmanager/layoutmanager.cxx | 14 -------------- 2 files changed, 2 insertions(+), 24 deletions(-) (limited to 'framework') diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index e9eea8d85455..09be6017aa2b 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -67,7 +67,6 @@ #include #include #include -#include #include #include #include @@ -79,7 +78,7 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include @@ -96,12 +95,11 @@ namespace framework { class InfoHelperBuilder; } - typedef ::cppu::WeakImplHelper8 < ::com::sun::star::lang::XServiceInfo + typedef ::cppu::WeakImplHelper7 < ::com::sun::star::lang::XServiceInfo , ::com::sun::star::frame::XLayoutManager , ::com::sun::star::awt::XWindowListener , ::com::sun::star::frame::XFrameActionListener , ::com::sun::star::ui::XUIConfigurationListener - , ::com::sun::star::frame::XInplaceLayout , ::com::sun::star::frame::XMenuBarMergingAcceptor , ::com::sun::star::frame::XLayoutManagerEventBroadcaster > LayoutManager_Base; @@ -160,12 +158,6 @@ namespace framework virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw (::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isVisible() throw (::com::sun::star::uno::RuntimeException); - //--------------------------------------------------------------------------------------------------------- - // XInplaceLayout - //--------------------------------------------------------------------------------------------------------- - virtual void SAL_CALL setInplaceMenuBar( sal_Int64 pInplaceMenuBarPointer ) throw (::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL resetInplaceMenuBar( ) throw (::com::sun::star::uno::RuntimeException); - //--------------------------------------------------------------------------------------------------------- // XMenuBarMergingAcceptor //--------------------------------------------------------------------------------------------------------- diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 7d5e6a580cdc..082d2422693a 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -26,14 +26,12 @@ * ************************************************************************/ - // my own includes #include #include #include #include -#include #include #include #include @@ -1248,18 +1246,6 @@ throw (RuntimeException) implts_reset( sal_True ); } -void SAL_CALL LayoutManager::setInplaceMenuBar( sal_Int64 ) -throw (uno::RuntimeException) -{ - OSL_FAIL( "This method is obsolete and should not be used!\n" ); -} - -void SAL_CALL LayoutManager::resetInplaceMenuBar() -throw (uno::RuntimeException) -{ - OSL_FAIL( "This method is obsolete and should not be used!\n" ); -} - //--------------------------------------------------------------------------------------------------------- // XMenuBarMergingAcceptor //--------------------------------------------------------------------------------------------------------- -- cgit