diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 38 |
1 files changed, 4 insertions, 34 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 04cf9e0cd1f4..0573cbc44232 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -2,9 +2,9 @@ * * $RCSfile: appserv.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: mba $ $Date: 2002-03-07 18:37:35 $ + * last change: $Author: sb $ $Date: 2002-05-06 16:20:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,17 +59,8 @@ * ************************************************************************/ -#ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_ -#include <com/sun/star/beans/PropertyValue.hpp> -#endif -#ifndef _COM_SUN_STAR_CONTAINER_XCONTENTENUMERATIONACCESS_HPP_ -#include <com/sun/star/container/XContentEnumerationAccess.hpp> -#endif -#ifndef _COM_SUN_STAR_CONTAINER_XENUMERATION_HPP_ -#include <com/sun/star/container/XEnumeration.hpp> -#endif -#ifndef _COM_SUN_STAR_UNO_REFERENCE_H_ -#include <com/sun/star/uno/Reference.h> +#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ +#include <com/sun/star/uno/Reference.hxx> #endif #ifndef _COM_SUN_STAR_FRAME_XTASK_HPP_ #include <com/sun/star/frame/XTask.hpp> @@ -433,16 +424,6 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) FASTBOOL bDone = FALSE; switch ( rReq.GetSlot() ) { -/* - case SID_SYNCHRONIZE : - { - Reference < ::com::sun::star::frame::XDispatch > xDisp ( comphelper::getProcessServiceFactory()-> - createInstance( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.syncaccess.ui.Dispatch" ) ) ), UNO_QUERY ); - if ( xDisp.is() ) - xDisp->dispatch( ::com::sun::star::util::URL(), 0 ); - break; - } -*/ case SID_LOAD_LIBRARY: case SID_UNLOAD_LIBRARY: case SID_REMOVE_LIBRARY: @@ -806,17 +787,6 @@ void SfxApplication::MiscState_Impl(SfxItemSet &rSet) { switch(nWhich) { -/* - case SID_SYNCHRONIZE : - { - Reference < XContentEnumerationAccess > xMgr( ::comphelper::getProcessServiceFactory(), UNO_QUERY ); - Reference < XEnumeration > xEnum = - xMgr->createContentEnumeration( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.syncaccess.ui.Dispatch" ) ) ); - if ( !xEnum.is() || !xEnum->hasMoreElements() ) - rSet.DisableItem(nWhich); - break; - } -*/ case SID_EXITANDRETURN: case SID_QUITAPP: { |