summaryrefslogtreecommitdiff
path: root/framework/source/fwe/helper
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/fwe/helper
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/fwe/helper')
-rw-r--r--framework/source/fwe/helper/documentundoguard.cxx20
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx8
-rw-r--r--framework/source/fwe/helper/undomanagerhelper.cxx32
3 files changed, 30 insertions, 30 deletions
diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx
index 95910a7e7e98..3e1f677c1811 100644
--- a/framework/source/fwe/helper/documentundoguard.cxx
+++ b/framework/source/fwe/helper/documentundoguard.cxx
@@ -26,10 +26,10 @@
#include <rtl/ref.hxx>
#include <tools/diagnose_ex.h>
-//......................................................................................................................
+
namespace framework
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -47,9 +47,9 @@ namespace framework
using ::com::sun::star::document::UndoManagerEvent;
using ::com::sun::star::lang::EventObject;
- //==================================================================================================================
+
//= UndoManagerContextListener
- //==================================================================================================================
+
typedef ::cppu::WeakImplHelper1 < XUndoManagerListener
> UndoManagerContextListener_Base;
class UndoManagerContextListener : public UndoManagerContextListener_Base
@@ -194,9 +194,9 @@ namespace framework
m_documentDisposed = true;
}
- //==================================================================================================================
+
//= DocumentUndoGuard_Data
- //==================================================================================================================
+
struct DocumentUndoGuard_Data
{
Reference< XUndoManager > xUndoManager;
@@ -239,9 +239,9 @@ namespace framework
}
}
- //==================================================================================================================
+
//= DocumentUndoGuard
- //==================================================================================================================
+
DocumentUndoGuard::DocumentUndoGuard( const Reference< XInterface >& i_undoSupplierComponent )
:m_pData( new DocumentUndoGuard_Data )
@@ -254,8 +254,8 @@ namespace framework
lcl_restore( *m_pData );
}
-//......................................................................................................................
+
} // namespace framework
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index 306b6fd8d2b3..1676fce67b27 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -507,7 +507,7 @@ void TitleHelper::impl_updateTitleForFrame (const css::uno::Reference< css::fram
impl_sendTitleChangedEvent ();
}
-//*****************************************************************************************************************
+
void TitleHelper::impl_appendComponentTitle ( OUStringBuffer& sTitle ,
const css::uno::Reference< css::uno::XInterface >& xComponent)
{
@@ -518,7 +518,7 @@ void TitleHelper::impl_appendComponentTitle ( OUStringBuffer&
sTitle.append (xTitle->getTitle ());
}
-//*****************************************************************************************************************
+
void TitleHelper::impl_appendProductName (OUStringBuffer& sTitle)
{
OUString name(utl::ConfigManager::getProductName());
@@ -530,7 +530,7 @@ void TitleHelper::impl_appendProductName (OUStringBuffer& sTitle)
}
}
-//*****************************************************************************************************************
+
void TitleHelper::impl_appendModuleName (OUStringBuffer& sTitle)
{
// SYNCHRONIZED ->
@@ -563,7 +563,7 @@ void TitleHelper::impl_appendModuleName (OUStringBuffer& sTitle)
{}
}
-//*****************************************************************************************************************
+
#ifdef DBG_UTIL
void TitleHelper::impl_appendDebugVersion (OUStringBuffer& sTitle)
{
diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx
index 129dfe517bd6..51b5a1818b8d 100644
--- a/framework/source/fwe/helper/undomanagerhelper.cxx
+++ b/framework/source/fwe/helper/undomanagerhelper.cxx
@@ -34,10 +34,10 @@
#include <queue>
#include <boost/function.hpp>
-//......................................................................................................................
+
namespace framework
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -65,9 +65,9 @@ namespace framework
using ::com::sun::star::util::XModifyListener;
using ::svl::IUndoManager;
- //==================================================================================================================
+
//= UndoActionWrapper
- //==================================================================================================================
+
class UndoActionWrapper : public SfxUndoAction
{
public:
@@ -141,9 +141,9 @@ namespace framework
return false;
}
- //==================================================================================================================
+
//= UndoManagerRequest
- //==================================================================================================================
+
class UndoManagerRequest : public ::comphelper::AnyEvent
{
public:
@@ -197,9 +197,9 @@ namespace framework
- //==================================================================================================================
+
//= UndoManagerHelper_Impl
- //==================================================================================================================
+
class UndoManagerHelper_Impl : public SfxUndoListener
{
private:
@@ -241,13 +241,13 @@ namespace framework
{
}
- //..............................................................................................................
+
IUndoManager& getUndoManager() const
{
return m_rUndoManagerImplementation.getImplUndoManager();
}
- //..............................................................................................................
+
Reference< XUndoManager > getXUndoManager() const
{
return m_rUndoManagerImplementation.getThis();
@@ -921,9 +921,9 @@ namespace framework
// TODO: do we need to care? Or is this the responsibility of our owner?
}
- //==================================================================================================================
+
//= UndoManagerHelper
- //==================================================================================================================
+
UndoManagerHelper::UndoManagerHelper( IUndoManagerImplementation& i_undoManagerImpl )
:m_pImpl( new UndoManagerHelper_Impl( i_undoManagerImpl ) )
@@ -1032,7 +1032,7 @@ namespace framework
namespace
{
- //..............................................................................................................
+
OUString lcl_getCurrentActionTitle( UndoManagerHelper_Impl& i_impl, const bool i_undo )
{
// SYNCHRONIZED --->
@@ -1054,7 +1054,7 @@ namespace framework
// <--- SYNCHRONIZED
}
- //..............................................................................................................
+
Sequence< OUString > lcl_getAllActionTitles( UndoManagerHelper_Impl& i_impl, const bool i_undo )
{
// SYNCHRONIZED --->
@@ -1170,8 +1170,8 @@ namespace framework
m_pImpl->removeModifyListener( i_listener );
}
-//......................................................................................................................
+
} // namespace framework
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */