summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-05-29 16:24:58 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-05-30 00:02:17 +0300
commita9a0ed1edc6452560a6e8985f5a33f09859af977 (patch)
tree97e410068e57c62bf1e2299ce7ad9254148dc12f /framework
parent7309b1c1dccbccc823943b21900889cde9ef1106 (diff)
Bin a bunch of pointless comments
Change-Id: Ic428010ce8c07a1265fef6f0fcfa594501cb9267
Diffstat (limited to 'framework')
-rw-r--r--framework/source/dispatch/interceptionhelper.cxx24
-rw-r--r--framework/source/dispatch/loaddispatcher.cxx38
-rw-r--r--framework/source/loadenv/targethelper.cxx6
-rw-r--r--framework/source/services/modulemanager.cxx57
4 files changed, 0 insertions, 125 deletions
diff --git a/framework/source/dispatch/interceptionhelper.cxx b/framework/source/dispatch/interceptionhelper.cxx
index 61beec78c8a7..61523cf0bb86 100644
--- a/framework/source/dispatch/interceptionhelper.cxx
+++ b/framework/source/dispatch/interceptionhelper.cxx
@@ -56,18 +56,12 @@ sal_Bool InterceptionHelper::m_bPreferrFirstInterceptor = sal_True;
//_______________________________________________
// declarations
-/*-----------------------------------------------------------------------------
- 31.03.2003 09:02
------------------------------------------------------------------------------*/
DEFINE_XINTERFACE_3(InterceptionHelper ,
OWeakObject ,
DIRECT_INTERFACE(css::frame::XDispatchProvider ),
DIRECT_INTERFACE(css::frame::XDispatchProviderInterception),
DIRECT_INTERFACE(css::lang::XEventListener ))
-/*-----------------------------------------------------------------------------
- 31.03.2003 09:02
------------------------------------------------------------------------------*/
InterceptionHelper::InterceptionHelper(const css::uno::Reference< css::frame::XFrame >& xOwner,
const css::uno::Reference< css::frame::XDispatchProvider >& xSlave)
// Init baseclasses first
@@ -79,16 +73,10 @@ InterceptionHelper::InterceptionHelper(const css::uno::Reference< css::frame::XF
{
}
-/*-----------------------------------------------------------------------------
- 31.03.2003 09:02
------------------------------------------------------------------------------*/
InterceptionHelper::~InterceptionHelper()
{
}
-/*-----------------------------------------------------------------------------
- 31.03.2003 09:09
------------------------------------------------------------------------------*/
css::uno::Reference< css::frame::XDispatch > SAL_CALL InterceptionHelper::queryDispatch(const css::util::URL& aURL ,
const ::rtl::OUString& sTargetFrameName,
sal_Int32 nSearchFlags )
@@ -130,9 +118,6 @@ css::uno::Reference< css::frame::XDispatch > SAL_CALL InterceptionHelper::queryD
return xReturn;
}
-/*-----------------------------------------------------------------------------
- 31.03.2003 07:58
------------------------------------------------------------------------------*/
css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL InterceptionHelper::queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& lDescriptor )
throw(css::uno::RuntimeException)
{
@@ -147,9 +132,6 @@ css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL Inte
return lDispatches;
}
-/*-----------------------------------------------------------------------------
- 31.03.2003 10:20
------------------------------------------------------------------------------*/
void SAL_CALL InterceptionHelper::registerDispatchProviderInterceptor(const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& xInterceptor)
throw(css::uno::RuntimeException)
{
@@ -230,9 +212,6 @@ void SAL_CALL InterceptionHelper::registerDispatchProviderInterceptor(const css:
xOwner->contextChanged();
}
-/*-----------------------------------------------------------------------------
- 31.03.2003 10:27
------------------------------------------------------------------------------*/
void SAL_CALL InterceptionHelper::releaseDispatchProviderInterceptor(const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& xInterceptor)
throw(css::uno::RuntimeException)
{
@@ -280,9 +259,6 @@ void SAL_CALL InterceptionHelper::releaseDispatchProviderInterceptor(const css::
xOwner->contextChanged();
}
-/*-----------------------------------------------------------------------------
- 31.03.2003 10:31
------------------------------------------------------------------------------*/
#define FORCE_DESTRUCTION_OF_INTERCEPTION_CHAIN
void SAL_CALL InterceptionHelper::disposing(const css::lang::EventObject& aEvent)
throw(css::uno::RuntimeException)
diff --git a/framework/source/dispatch/loaddispatcher.cxx b/framework/source/dispatch/loaddispatcher.cxx
index d512b19bfac8..9efdee31a6c0 100644
--- a/framework/source/dispatch/loaddispatcher.cxx
+++ b/framework/source/dispatch/loaddispatcher.cxx
@@ -26,33 +26,16 @@
*
************************************************************************/
-
-//_______________________________________________
-// my own includes
#include <dispatch/loaddispatcher.hxx>
#include <threadhelp/readguard.hxx>
#include <threadhelp/writeguard.hxx>
-//_______________________________________________
-// interface includes
#include <com/sun/star/frame/DispatchResultState.hpp>
-//_______________________________________________
-// includes of other projects
-
-//_______________________________________________
-// namespace
-
namespace framework{
namespace css = ::com::sun::star;
-//_______________________________________________
-// declarations
-
-/*-----------------------------------------------
- 20.08.2003 09:52
------------------------------------------------*/
LoadDispatcher::LoadDispatcher(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR ,
const css::uno::Reference< css::frame::XFrame >& xOwnerFrame ,
const ::rtl::OUString sTargetName ,
@@ -66,17 +49,11 @@ LoadDispatcher::LoadDispatcher(const css::uno::Reference< css::lang::XMultiServi
{
}
-/*-----------------------------------------------
- 20.08.2003 09:12
------------------------------------------------*/
LoadDispatcher::~LoadDispatcher()
{
m_xSMGR.clear();
}
-/*-----------------------------------------------
- 20.08.2003 09:58
------------------------------------------------*/
void SAL_CALL LoadDispatcher::dispatchWithNotification(const css::util::URL& aURL ,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments,
const css::uno::Reference< css::frame::XDispatchResultListener >& xListener )
@@ -85,9 +62,6 @@ void SAL_CALL LoadDispatcher::dispatchWithNotification(const css::util::URL&
impl_dispatch( aURL, lArguments, xListener );
}
-/*-----------------------------------------------
- 20.08.2003 09:16
------------------------------------------------*/
void SAL_CALL LoadDispatcher::dispatch(const css::util::URL& aURL ,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments)
throw(css::uno::RuntimeException)
@@ -95,9 +69,6 @@ void SAL_CALL LoadDispatcher::dispatch(const css::util::URL&
impl_dispatch( aURL, lArguments, css::uno::Reference< css::frame::XDispatchResultListener >() );
}
-/*-----------------------------------------------
- 14.04.2008
------------------------------------------------*/
css::uno::Any SAL_CALL LoadDispatcher::dispatchWithReturnValue( const css::util::URL& rURL,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments )
throw( css::uno::RuntimeException )
@@ -105,27 +76,18 @@ css::uno::Any SAL_CALL LoadDispatcher::dispatchWithReturnValue( const css::util:
return impl_dispatch( rURL, lArguments, css::uno::Reference< css::frame::XDispatchResultListener >());
}
-/*-----------------------------------------------
- 20.08.2003 10:48
------------------------------------------------*/
void SAL_CALL LoadDispatcher::addStatusListener(const css::uno::Reference< css::frame::XStatusListener >& /*xListener*/,
const css::util::URL& /*aURL*/ )
throw(css::uno::RuntimeException)
{
}
-/*-----------------------------------------------
- 20.08.2003 10:49
------------------------------------------------*/
void SAL_CALL LoadDispatcher::removeStatusListener(const css::uno::Reference< css::frame::XStatusListener >& /*xListener*/,
const css::util::URL& /*aURL*/ )
throw(css::uno::RuntimeException)
{
}
-/*-----------------------------------------------
- 20.08.2003 09:58
------------------------------------------------*/
css::uno::Any LoadDispatcher::impl_dispatch( const css::util::URL& rURL,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments,
const css::uno::Reference< css::frame::XDispatchResultListener >& xListener )
diff --git a/framework/source/loadenv/targethelper.cxx b/framework/source/loadenv/targethelper.cxx
index 95f5151e1ade..27e354f7b7aa 100644
--- a/framework/source/loadenv/targethelper.cxx
+++ b/framework/source/loadenv/targethelper.cxx
@@ -30,9 +30,6 @@
namespace framework{
-/*-----------------------------------------------
- 05.08.2003 09:08
------------------------------------------------*/
sal_Bool TargetHelper::matchSpecialTarget(const ::rtl::OUString& sCheckTarget ,
ESpecialTarget eSpecialTarget)
{
@@ -69,9 +66,6 @@ sal_Bool TargetHelper::matchSpecialTarget(const ::rtl::OUString& sCheckTarget ,
}
}
-/*-----------------------------------------------
- 05.08.2003 09:17
------------------------------------------------*/
sal_Bool TargetHelper::isValidNameForFrame(const ::rtl::OUString& sName)
{
// some special targets are realy special ones :-)
diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx
index fd358bfba848..e412d82d7167 100644
--- a/framework/source/services/modulemanager.cxx
+++ b/framework/source/services/modulemanager.cxx
@@ -30,14 +30,10 @@
#include "services/modulemanager.hxx"
#include "services/frame.hxx"
-//_______________________________________________
-// own includes
#include <threadhelp/readguard.hxx>
#include <threadhelp/writeguard.hxx>
#include <services.h>
-//_______________________________________________
-// interface includes
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XModel.hpp>
@@ -47,8 +43,6 @@
#include <comphelper/sequenceasvector.hxx>
#include <comphelper/enumhelper.hxx>
-//_______________________________________________
-// other includes
#include <rtl/logfile.hxx>
namespace framework
@@ -57,9 +51,6 @@ namespace framework
static const char CFGPATH_FACTORIES[] = "/org.openoffice.Setup/Office/Factories";
static const char MODULEPROP_IDENTIFIER[] = "ooSetupFactoryModuleIdentifier";
-/*-----------------------------------------------
- 04.12.2003 09:32
------------------------------------------------*/
DEFINE_XINTERFACE_7(ModuleManager ,
OWeakObject ,
DIRECT_INTERFACE(css::lang::XTypeProvider ),
@@ -70,9 +61,6 @@ DEFINE_XINTERFACE_7(ModuleManager ,
DIRECT_INTERFACE(css::container::XContainerQuery),
DIRECT_INTERFACE(css::frame::XModuleManager ))
-/*-----------------------------------------------
- 04.12.2003 09:32
------------------------------------------------*/
DEFINE_XTYPEPROVIDER_7(ModuleManager ,
css::lang::XTypeProvider ,
css::lang::XServiceInfo ,
@@ -82,17 +70,11 @@ DEFINE_XTYPEPROVIDER_7(ModuleManager ,
css::container::XContainerQuery,
css::frame::XModuleManager )
-/*-----------------------------------------------
- 04.12.2003 09:35
------------------------------------------------*/
DEFINE_XSERVICEINFO_ONEINSTANCESERVICE(ModuleManager ,
::cppu::OWeakObject ,
SERVICENAME_MODULEMANAGER ,
IMPLEMENTATIONNAME_MODULEMANAGER)
-/*-----------------------------------------------
- 04.12.2003 09:35
------------------------------------------------*/
DEFINE_INIT_SERVICE(
ModuleManager,
{
@@ -104,27 +86,18 @@ DEFINE_INIT_SERVICE(
}
)
-/*-----------------------------------------------
- 04.12.2003 09:30
------------------------------------------------*/
ModuleManager::ModuleManager(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR)
: ThreadHelpBase( )
, m_xSMGR (xSMGR)
{
}
-/*-----------------------------------------------
- 10.12.2003 11:59
------------------------------------------------*/
ModuleManager::~ModuleManager()
{
if (m_xCFG.is())
m_xCFG.clear();
}
-/*-----------------------------------------------
- 10.12.2003 11:02
------------------------------------------------*/
::rtl::OUString SAL_CALL ModuleManager::identify(const css::uno::Reference< css::uno::XInterface >& xModule)
throw(css::lang::IllegalArgumentException,
css::frame::UnknownModuleException,
@@ -180,9 +153,6 @@ ModuleManager::~ModuleManager()
return sModule;
}
-/*-----------------------------------------------
- 08.03.2007 09:55
------------------------------------------------*/
void SAL_CALL ModuleManager::replaceByName(const ::rtl::OUString& sName ,
const css::uno::Any& aValue)
throw (css::lang::IllegalArgumentException ,
@@ -241,9 +211,6 @@ void SAL_CALL ModuleManager::replaceByName(const ::rtl::OUString& sName ,
::comphelper::ConfigurationHelper::flush(xCfg);
}
-/*-----------------------------------------------
- 10.12.2003 12:05
------------------------------------------------*/
css::uno::Any SAL_CALL ModuleManager::getByName(const ::rtl::OUString& sName)
throw(css::container::NoSuchElementException,
css::lang::WrappedTargetException ,
@@ -276,9 +243,6 @@ css::uno::Any SAL_CALL ModuleManager::getByName(const ::rtl::OUString& sName)
return css::uno::makeAny(lProps.getAsConstPropertyValueList());
}
-/*-----------------------------------------------
- 10.12.2003 11:58
------------------------------------------------*/
css::uno::Sequence< ::rtl::OUString > SAL_CALL ModuleManager::getElementNames()
throw(css::uno::RuntimeException)
{
@@ -286,9 +250,6 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL ModuleManager::getElementNames()
return xCFG->getElementNames();
}
-/*-----------------------------------------------
- 10.12.2003 11:57
------------------------------------------------*/
sal_Bool SAL_CALL ModuleManager::hasByName(const ::rtl::OUString& sName)
throw(css::uno::RuntimeException)
{
@@ -296,18 +257,12 @@ sal_Bool SAL_CALL ModuleManager::hasByName(const ::rtl::OUString& sName)
return xCFG->hasByName(sName);
}
-/*-----------------------------------------------
- 10.12.2003 11:35
------------------------------------------------*/
css::uno::Type SAL_CALL ModuleManager::getElementType()
throw(css::uno::RuntimeException)
{
return ::getCppuType((const css::uno::Sequence< css::beans::PropertyValue >*)0);
}
-/*-----------------------------------------------
- 10.12.2003 11:56
------------------------------------------------*/
sal_Bool SAL_CALL ModuleManager::hasElements()
throw(css::uno::RuntimeException)
{
@@ -315,18 +270,12 @@ sal_Bool SAL_CALL ModuleManager::hasElements()
return xCFG->hasElements();
}
-/*-----------------------------------------------
- 07.03.2007 12:55
------------------------------------------------*/
css::uno::Reference< css::container::XEnumeration > SAL_CALL ModuleManager::createSubSetEnumerationByQuery(const ::rtl::OUString&)
throw(css::uno::RuntimeException)
{
return css::uno::Reference< css::container::XEnumeration >();
}
-/*-----------------------------------------------
- 07.03.2007 12:55
------------------------------------------------*/
css::uno::Reference< css::container::XEnumeration > SAL_CALL ModuleManager::createSubSetEnumerationByProperties(const css::uno::Sequence< css::beans::NamedValue >& lProperties)
throw(css::uno::RuntimeException)
{
@@ -356,9 +305,6 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL ModuleManager::crea
return xEnum;
}
-/*-----------------------------------------------
- 14.12.2003 09:45
------------------------------------------------*/
css::uno::Reference< css::container::XNameAccess > ModuleManager::implts_getConfig()
throw(css::uno::RuntimeException)
{
@@ -394,9 +340,6 @@ css::uno::Reference< css::container::XNameAccess > ModuleManager::implts_getConf
// <- SAFE ----------------------------------
}
-/*-----------------------------------------------
- 30.01.2004 07:54
------------------------------------------------*/
::rtl::OUString ModuleManager::implts_identify(const css::uno::Reference< css::uno::XInterface >& xComponent)
{
// Search for an optional (!) interface XModule first.