summaryrefslogtreecommitdiff
path: root/framework/source/recording
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 18:54:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 14:41:41 -0600
commitfcbefea01766e0888f7813672d9eddbdec5a9046 (patch)
tree8861652061bb2189350824217c98a259a9a9d2ec /framework/source/recording
parenta395c9fa387eabf2d09360f1023f5e3e66af21a8 (diff)
Remove visual noise from framework
Conflicts: framework/inc/dispatch/oxt_handler.hxx framework/inc/services/layoutmanager.hxx framework/inc/tabwin/tabwindow.hxx framework/source/dispatch/menudispatcher.cxx framework/source/helper/dockingareadefaultacceptor.cxx framework/source/helper/ocomponentaccess.cxx framework/source/helper/ocomponentenumeration.cxx framework/source/helper/oframes.cxx framework/source/layoutmanager/toolbarlayoutmanager.hxx framework/source/recording/dispatchrecorder.cxx framework/source/services/desktop.cxx framework/source/services/frame.cxx framework/source/services/urltransformer.cxx Change-Id: Ibb04e3f6f0796e7f2be16dcce38542f8b90708d4 Reviewed-on: https://gerrit.libreoffice.org/8265 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'framework/source/recording')
-rw-r--r--framework/source/recording/dispatchrecorder.cxx20
-rw-r--r--framework/source/recording/dispatchrecordersupplier.cxx4
2 files changed, 11 insertions, 13 deletions
diff --git a/framework/source/recording/dispatchrecorder.cxx b/framework/source/recording/dispatchrecorder.cxx
index 36f8a7d10310..6f9d0882e484 100644
--- a/framework/source/recording/dispatchrecorder.cxx
+++ b/framework/source/recording/dispatchrecorder.cxx
@@ -34,9 +34,9 @@ namespace framework{
// used to mark a dispatch as comment (mostly it indicates an error) Changing of this wdefine will impact all using of such comments ...
#define REM_AS_COMMENT "rem "
-//*****************************************************************************************************************
+
// XInterface, XTypeProvider, XServiceInfo
-//*****************************************************************************************************************
+
DEFINE_XSERVICEINFO_MULTISERVICE_2(
DispatchRecorder,
@@ -68,7 +68,7 @@ void flatten_struct_members(
Any( (char const *)data + pTD->pMemberOffsets[ nPos ], pTD->ppTypeRefs[ nPos ] ) );
}
}
-//==================================================================================================
+
Sequence< Any > make_seq_out_of_struct(
Any const & val )
SAL_THROW( (RuntimeException) )
@@ -100,19 +100,19 @@ Sequence< Any > make_seq_out_of_struct(
return Sequence< Any >( &vec[ 0 ], vec.size() );
}
-//***********************************************************************
+
DispatchRecorder::DispatchRecorder( const css::uno::Reference< css::uno::XComponentContext >& xContext )
: ThreadHelpBase ( &Application::GetSolarMutex() )
, m_xConverter( css::script::Converter::create(xContext) )
{
}
-//************************************************************************
+
DispatchRecorder::~DispatchRecorder()
{
}
-//*************************************************************************
+
// generate header
void SAL_CALL DispatchRecorder::startRecording( const css::uno::Reference< css::frame::XFrame >& ) throw( css::uno::RuntimeException, std::exception )
{
@@ -120,7 +120,7 @@ void SAL_CALL DispatchRecorder::startRecording( const css::uno::Reference< css::
/* } */
}
-//*************************************************************************
+
void SAL_CALL DispatchRecorder::recordDispatch( const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException, std::exception )
{
@@ -130,7 +130,7 @@ void SAL_CALL DispatchRecorder::recordDispatch( const css::util::URL& aURL,
m_aStatements.push_back( aStatement );
}
-//*************************************************************************
+
void SAL_CALL DispatchRecorder::recordDispatchAsComment( const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException, std::exception )
{
@@ -141,7 +141,6 @@ void SAL_CALL DispatchRecorder::recordDispatchAsComment( const css::util::URL&
m_aStatements.push_back( aStatement );
}
-//*************************************************************************
void SAL_CALL DispatchRecorder::endRecording() throw( css::uno::RuntimeException, std::exception )
{
/* SAFE{ */
@@ -150,7 +149,6 @@ void SAL_CALL DispatchRecorder::endRecording() throw( css::uno::RuntimeException
/* } */
}
-//*************************************************************************
OUString SAL_CALL DispatchRecorder::getRecordedMacro() throw( css::uno::RuntimeException, std::exception )
{
/* SAFE{ */
@@ -180,7 +178,7 @@ OUString SAL_CALL DispatchRecorder::getRecordedMacro() throw( css::uno::RuntimeE
/* } */
}
-//*************************************************************************
+
void SAL_CALL DispatchRecorder::AppendToBuffer( css::uno::Any aValue, OUStringBuffer& aArgumentBuffer )
{
// if value == bool
diff --git a/framework/source/recording/dispatchrecordersupplier.cxx b/framework/source/recording/dispatchrecordersupplier.cxx
index 9db2b7d3125d..209afd78af71 100644
--- a/framework/source/recording/dispatchrecordersupplier.cxx
+++ b/framework/source/recording/dispatchrecordersupplier.cxx
@@ -28,9 +28,9 @@
namespace framework{
-//*****************************************************************************************************************
+
// XInterface, XTypeProvider
-//*****************************************************************************************************************
+
DEFINE_XSERVICEINFO_MULTISERVICE(
DispatchRecorderSupplier,