summaryrefslogtreecommitdiff
path: root/framework/source/dispatch
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-08-08 13:53:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-08-08 13:53:54 +0200
commit2beba8f93e7991372dd45351c92c50f7850dc46a (patch)
tree15dfae00223ccc7fdbfe2e06a3d931b97fded890 /framework/source/dispatch
parent49ad17e2b1aef65fad357b9c540ab36189233dd3 (diff)
reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
Diffstat (limited to 'framework/source/dispatch')
-rw-r--r--framework/source/dispatch/closedispatcher.cxx4
-rw-r--r--framework/source/dispatch/dispatchinformationprovider.cxx7
-rw-r--r--framework/source/dispatch/interceptionhelper.cxx8
-rw-r--r--framework/source/dispatch/mailtodispatcher.cxx16
-rw-r--r--framework/source/dispatch/menudispatcher.cxx15
-rw-r--r--framework/source/dispatch/oxt_handler.cxx23
-rw-r--r--framework/source/dispatch/popupmenudispatcher.cxx15
-rw-r--r--framework/source/dispatch/servicehandler.cxx16
-rw-r--r--framework/source/dispatch/startmoduledispatcher.cxx4
-rw-r--r--framework/source/dispatch/systemexec.cxx16
-rw-r--r--framework/source/dispatch/windowcommanddispatch.cxx2
11 files changed, 0 insertions, 126 deletions
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index 3f732d4110f0..7f9185ec32bc 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -49,8 +49,6 @@
#include <osl/mutex.hxx>
#include <unotools/moduleoptions.hxx>
-//_______________________________________________
-// namespace
using namespace com::sun::star;
@@ -65,8 +63,6 @@ const char URL_CLOSEDOC[] = ".uno:CloseDoc";
const char URL_CLOSEWIN[] = ".uno:CloseWin";
const char URL_CLOSEFRAME[] = ".uno:CloseFrame";
-//_______________________________________________
-// declarations
DEFINE_XINTERFACE_4(CloseDispatcher ,
OWeakObject ,
diff --git a/framework/source/dispatch/dispatchinformationprovider.cxx b/framework/source/dispatch/dispatchinformationprovider.cxx
index 4d1956502496..636ee55ed628 100644
--- a/framework/source/dispatch/dispatchinformationprovider.cxx
+++ b/framework/source/dispatch/dispatchinformationprovider.cxx
@@ -37,17 +37,10 @@
#include <comphelper/sequenceasvector.hxx>
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
namespace framework{
namespace css = ::com::sun::star;
-//_________________________________________________________________________________________________________________
-// declarations
-//_________________________________________________________________________________________________________________
DEFINE_XINTERFACE_1(DispatchInformationProvider ,
OWeakObject ,
DIRECT_INTERFACE(css::frame::XDispatchInformationProvider))
diff --git a/framework/source/dispatch/interceptionhelper.cxx b/framework/source/dispatch/interceptionhelper.cxx
index 5995f69c8af8..59a0a8c135d6 100644
--- a/framework/source/dispatch/interceptionhelper.cxx
+++ b/framework/source/dispatch/interceptionhelper.cxx
@@ -32,21 +32,13 @@
#include <vcl/svapp.hxx>
-//_______________________________________________
-// namespace
namespace framework{
-//_______________________________________________
-// non exported const
sal_Bool InterceptionHelper::m_bPreferrFirstInterceptor = sal_True;
-//_______________________________________________
-// non exported definitions
-//_______________________________________________
-// declarations
DEFINE_XINTERFACE_3(InterceptionHelper ,
OWeakObject ,
diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx
index 2f9f69089c09..903e33ce695c 100644
--- a/framework/source/dispatch/mailtodispatcher.cxx
+++ b/framework/source/dispatch/mailtodispatcher.cxx
@@ -37,28 +37,12 @@
#include <vcl/svapp.hxx>
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
namespace framework{
-//_________________________________________________________________________________________________________________
-// non exported const
-//_________________________________________________________________________________________________________________
-
#define PROTOCOL_VALUE "mailto:"
#define PROTOCOL_LENGTH 7
//_________________________________________________________________________________________________________________
-// non exported definitions
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// declarations
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
// XInterface, XTypeProvider, XServiceInfo
DEFINE_XINTERFACE_5(MailToDispatcher ,
diff --git a/framework/source/dispatch/menudispatcher.cxx b/framework/source/dispatch/menudispatcher.cxx
index 703c5bfbbc54..f5661d4ed4d7 100644
--- a/framework/source/dispatch/menudispatcher.cxx
+++ b/framework/source/dispatch/menudispatcher.cxx
@@ -55,10 +55,6 @@
#include <ucbhelper/content.hxx>
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
namespace framework{
using namespace ::com::sun::star ;
@@ -71,20 +67,9 @@ using namespace ::com::sun::star::uno ;
using namespace ::com::sun::star::util ;
using namespace ::cppu ;
using ::rtl::OUString;
-//_________________________________________________________________________________________________________________
-// non exported const
-//_________________________________________________________________________________________________________________
const sal_uInt16 SLOTID_MDIWINDOWLIST = 5610;
-//_________________________________________________________________________________________________________________
-// non exported definitions
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// declarations
-//_________________________________________________________________________________________________________________
-
//*****************************************************************************************************************
// constructor
//*****************************************************************************************************************
diff --git a/framework/source/dispatch/oxt_handler.cxx b/framework/source/dispatch/oxt_handler.cxx
index 8615a2497ca7..4b831e28851a 100644
--- a/framework/source/dispatch/oxt_handler.cxx
+++ b/framework/source/dispatch/oxt_handler.cxx
@@ -27,17 +27,11 @@
************************************************************************/
#include <dispatch/oxt_handler.hxx>
-
#include <threadhelp/transactionguard.hxx>
-
#include <threadhelp/writeguard.hxx>
-
#include <threadhelp/readguard.hxx>
-
#include <macros/debug.hxx>
-
#include <services.h>
-
#include <comphelper/mediadescriptor.hxx>
#include <com/sun/star/io/XInputStream.hpp>
@@ -45,29 +39,12 @@
#include <com/sun/star/task/XJobExecutor.hpp>
#include <comphelper/sequenceashashmap.hxx>
-
#include <rtl/ustrbuf.hxx>
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
namespace framework{
-//_________________________________________________________________________________________________________________
-// non exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// non exported definitions
-//_________________________________________________________________________________________________________________
-
#define UNISTRING(s) rtl::OUString(s)
-//_________________________________________________________________________________________________________________
-// declarations
-//_________________________________________________________________________________________________________________
-
//*****************************************************************************************************************
// XInterface, XTypeProvider, XServiceInfo
//*****************************************************************************************************************
diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx
index bfab7950ca55..9e7b210900fc 100644
--- a/framework/source/dispatch/popupmenudispatcher.cxx
+++ b/framework/source/dispatch/popupmenudispatcher.cxx
@@ -49,10 +49,6 @@
#include <rtl/ustrbuf.hxx>
#include <vcl/svapp.hxx>
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
namespace framework{
using namespace ::com::sun::star ;
@@ -67,20 +63,9 @@ using namespace ::cppu ;
using namespace ::osl ;
using namespace ::rtl ;
-//_________________________________________________________________________________________________________________
-// non exported const
-//_________________________________________________________________________________________________________________
const char* PROTOCOL_VALUE = "vnd.sun.star.popup:";
const sal_Int32 PROTOCOL_LENGTH = 19;
-//_________________________________________________________________________________________________________________
-// non exported definitions
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// declarations
-//_________________________________________________________________________________________________________________
-
//*****************************************************************************************************************
// constructor
//*****************************************************************************************************************
diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx
index 3f46db6de266..2eacd8c8f96c 100644
--- a/framework/source/dispatch/servicehandler.cxx
+++ b/framework/source/dispatch/servicehandler.cxx
@@ -36,28 +36,12 @@
#include <vcl/svapp.hxx>
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
namespace framework{
-//_________________________________________________________________________________________________________________
-// non exported const
-//_________________________________________________________________________________________________________________
-
#define PROTOCOL_VALUE "service:"
#define PROTOCOL_LENGTH 8
//_________________________________________________________________________________________________________________
-// non exported definitions
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// declarations
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
// XInterface, XTypeProvider, XServiceInfo
DEFINE_XINTERFACE_5(ServiceHandler ,
diff --git a/framework/source/dispatch/startmoduledispatcher.cxx b/framework/source/dispatch/startmoduledispatcher.cxx
index 9bdbe11915ac..d24706d45ce7 100644
--- a/framework/source/dispatch/startmoduledispatcher.cxx
+++ b/framework/source/dispatch/startmoduledispatcher.cxx
@@ -51,8 +51,6 @@
#include <osl/mutex.hxx>
#include <unotools/moduleoptions.hxx>
-//_______________________________________________
-// namespace
namespace framework{
@@ -61,8 +59,6 @@ namespace framework{
#endif
namespace fpf = ::framework::pattern::frame;
-//_______________________________________________
-// declarations
DEFINE_XINTERFACE_4(StartModuleDispatcher ,
OWeakObject ,
diff --git a/framework/source/dispatch/systemexec.cxx b/framework/source/dispatch/systemexec.cxx
index b57097432ded..4daeb89d1d35 100644
--- a/framework/source/dispatch/systemexec.cxx
+++ b/framework/source/dispatch/systemexec.cxx
@@ -40,28 +40,12 @@
#include <vcl/svapp.hxx>
#include <comphelper/componentcontext.hxx>
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
namespace framework{
-//_________________________________________________________________________________________________________________
-// non exported const
-//_________________________________________________________________________________________________________________
-
#define PROTOCOL_VALUE "systemexecute:"
#define PROTOCOL_LENGTH 14
//_________________________________________________________________________________________________________________
-// non exported definitions
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// declarations
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
// XInterface, XTypeProvider, XServiceInfo
DEFINE_XINTERFACE_5(SystemExec ,
diff --git a/framework/source/dispatch/windowcommanddispatch.cxx b/framework/source/dispatch/windowcommanddispatch.cxx
index d1c15f315a39..a2cc3690489c 100644
--- a/framework/source/dispatch/windowcommanddispatch.cxx
+++ b/framework/source/dispatch/windowcommanddispatch.cxx
@@ -45,8 +45,6 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <rtl/logfile.hxx>
-//_______________________________________________
-// namespace
namespace framework{