summaryrefslogtreecommitdiff
path: root/framework/source/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/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/helper')
-rw-r--r--framework/source/helper/dockingareadefaultacceptor.cxx11
-rw-r--r--framework/source/helper/ocomponentaccess.cxx27
-rw-r--r--framework/source/helper/ocomponentenumeration.cxx26
-rw-r--r--framework/source/helper/oframes.cxx46
-rw-r--r--framework/source/helper/persistentwindowstate.cxx20
-rw-r--r--framework/source/helper/statusindicator.cxx14
-rw-r--r--framework/source/helper/tagwindowasmodified.cxx14
-rw-r--r--framework/source/helper/titlebarupdate.cxx20
-rw-r--r--framework/source/helper/wakeupthread.cxx6
9 files changed, 86 insertions, 98 deletions
diff --git a/framework/source/helper/dockingareadefaultacceptor.cxx b/framework/source/helper/dockingareadefaultacceptor.cxx
index 47fd34fd6041..4b4271fffdbe 100644
--- a/framework/source/helper/dockingareadefaultacceptor.cxx
+++ b/framework/source/helper/dockingareadefaultacceptor.cxx
@@ -35,9 +35,9 @@ using namespace ::com::sun::star::uno ;
using namespace ::cppu ;
using namespace ::osl ;
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
DockingAreaDefaultAcceptor::DockingAreaDefaultAcceptor( const css::uno::Reference< XFrame >& xOwner )
// Init baseclasses first
: ThreadHelpBase ( &Application::GetSolarMutex() )
@@ -46,16 +46,15 @@ DockingAreaDefaultAcceptor::DockingAreaDefaultAcceptor( const css::uno::Refere
{
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
DockingAreaDefaultAcceptor::~DockingAreaDefaultAcceptor()
{
}
-//*****************************************************************************************************************
+
// XDockingAreaAcceptor
-//*****************************************************************************************************************
css::uno::Reference< css::awt::XWindow > SAL_CALL DockingAreaDefaultAcceptor::getContainerWindow() throw (css::uno::RuntimeException, std::exception)
{
// Ready for multithreading
diff --git a/framework/source/helper/ocomponentaccess.cxx b/framework/source/helper/ocomponentaccess.cxx
index 6bc4685a8cb3..142758d2e1e8 100644
--- a/framework/source/helper/ocomponentaccess.cxx
+++ b/framework/source/helper/ocomponentaccess.cxx
@@ -36,9 +36,9 @@ using namespace ::cppu ;
using namespace ::osl ;
using namespace ::rtl ;
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
OComponentAccess::OComponentAccess( const css::uno::Reference< XDesktop >& xOwner )
// Init baseclasses first
: ThreadHelpBase ( &Application::GetSolarMutex() )
@@ -49,16 +49,15 @@ OComponentAccess::OComponentAccess( const css::uno::Reference< XDesktop >& xOwne
SAL_WARN_IF( !impldbg_checkParameter_OComponentAccessCtor( xOwner ), "fwk", "OComponentAccess::OComponentAccess(): Invalid parameter detected!" );
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
OComponentAccess::~OComponentAccess()
{
}
-//*****************************************************************************************************************
+
// XEnumerationAccess
-//*****************************************************************************************************************
css::uno::Reference< XEnumeration > SAL_CALL OComponentAccess::createEnumeration() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -86,9 +85,8 @@ css::uno::Reference< XEnumeration > SAL_CALL OComponentAccess::createEnumeration
return xReturn;
}
-//*****************************************************************************************************************
+
// XElementAccess
-//*****************************************************************************************************************
Type SAL_CALL OComponentAccess::getElementType() throw( RuntimeException, std::exception )
{
// Elements in list an enumeration are components!
@@ -96,9 +94,8 @@ Type SAL_CALL OComponentAccess::getElementType() throw( RuntimeException, std::e
return ::getCppuType((const css::uno::Reference< XComponent >*)NULL);
}
-//*****************************************************************************************************************
+
// XElementAccess
-//*****************************************************************************************************************
sal_Bool SAL_CALL OComponentAccess::hasElements() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -119,9 +116,9 @@ sal_Bool SAL_CALL OComponentAccess::hasElements() throw( RuntimeException, std::
return bReturn;
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
void OComponentAccess::impl_collectAllChildComponents( const css::uno::Reference< XFramesSupplier >& xNode ,
Sequence< css::uno::Reference< XComponent > >& seqComponents )
{
@@ -153,9 +150,9 @@ void OComponentAccess::impl_collectAllChildComponents( const css::uno::Refere
// ... otherwise break a recursive path and go back at current stack!
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
css::uno::Reference< XComponent > OComponentAccess::impl_getFrameComponent( const css::uno::Reference< XFrame >& xFrame ) const
{
// Set default return value, if method failed.
@@ -200,7 +197,7 @@ css::uno::Reference< XComponent > OComponentAccess::impl_getFrameComponent( cons
But ... look for right testing! See using of this methods!
-----------------------------------------------------------------------------------------------------------------*/
-//*****************************************************************************************************************
+
sal_Bool OComponentAccess::impldbg_checkParameter_OComponentAccessCtor( const css::uno::Reference< XDesktop >& xOwner )
{
return xOwner.is();
diff --git a/framework/source/helper/ocomponentenumeration.cxx b/framework/source/helper/ocomponentenumeration.cxx
index 2c1f9e1b5db2..9342deec2561 100644
--- a/framework/source/helper/ocomponentenumeration.cxx
+++ b/framework/source/helper/ocomponentenumeration.cxx
@@ -32,9 +32,9 @@ using namespace ::cppu ;
using namespace ::osl ;
using namespace ::rtl ;
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
OComponentEnumeration::OComponentEnumeration( const Sequence< css::uno::Reference< XComponent > >& seqComponents )
// Init baseclasses first
// Attention:
@@ -52,18 +52,17 @@ OComponentEnumeration::OComponentEnumeration( const Sequence< css::uno::Referenc
SAL_WARN_IF( !impldbg_checkParameter_OComponentEnumerationCtor( seqComponents ), "fwk", "OComponentEnumeration::OComponentEnumeration(): Invalid parameter detected!" );
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
OComponentEnumeration::~OComponentEnumeration()
{
// Reset instance, free memory ....
impl_resetObject();
}
-//*****************************************************************************************************************
+
// XEventListener
-//*****************************************************************************************************************
void SAL_CALL OComponentEnumeration::disposing( const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -78,9 +77,8 @@ void SAL_CALL OComponentEnumeration::disposing( const EventObject& aEvent ) thro
impl_resetObject();
}
-//*****************************************************************************************************************
+
// XEnumeration
-//*****************************************************************************************************************
sal_Bool SAL_CALL OComponentEnumeration::hasMoreElements() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -93,9 +91,9 @@ sal_Bool SAL_CALL OComponentEnumeration::hasMoreElements() throw( RuntimeExcepti
return ( m_nPosition < (sal_uInt32)(m_seqComponents.getLength()) );
}
-//*****************************************************************************************************************
+
// XEnumeration
-//*****************************************************************************************************************
+
Any SAL_CALL OComponentEnumeration::nextElement() throw( NoSuchElementException ,
WrappedTargetException ,
RuntimeException, std::exception )
@@ -120,9 +118,9 @@ Any SAL_CALL OComponentEnumeration::nextElement() throw( NoSuchElementExcepti
return aComponent;
}
-//*****************************************************************************************************************
+
// proteced method
-//*****************************************************************************************************************
+
void OComponentEnumeration::impl_resetObject()
{
// Attention:
@@ -154,7 +152,7 @@ void OComponentEnumeration::impl_resetObject()
But ... look for right testing! See using of this methods!
-----------------------------------------------------------------------------------------------------------------*/
-//*****************************************************************************************************************
+
// An empty list is allowed ... hasMoreElements() will return false then!
sal_Bool OComponentEnumeration::impldbg_checkParameter_OComponentEnumerationCtor( const Sequence< css::uno::Reference< XComponent > >& seqComponents )
{
@@ -171,7 +169,7 @@ sal_Bool OComponentEnumeration::impldbg_checkParameter_OComponentEnumerationCtor
return bOK ;
}
-//*****************************************************************************************************************
+
sal_Bool OComponentEnumeration::impldbg_checkParameter_disposing( const EventObject& aEvent )
{
return aEvent.Source.is();
diff --git a/framework/source/helper/oframes.cxx b/framework/source/helper/oframes.cxx
index 4ba1b88f1d75..f0ce0c24611c 100644
--- a/framework/source/helper/oframes.cxx
+++ b/framework/source/helper/oframes.cxx
@@ -37,9 +37,9 @@ using namespace ::osl ;
using namespace ::std ;
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
OFrames::OFrames( const css::uno::Reference< XFrame >& xOwner ,
FrameContainer* pFrameContainer )
// Init baseclasses first
@@ -54,18 +54,17 @@ OFrames::OFrames( const css::uno::Reference< XFrame >& xOwner
SAL_WARN_IF( !impldbg_checkParameter_OFramesCtor( xOwner, pFrameContainer ), "fwk", "OFrames::OFrames(): Invalid parameter detected!" );
}
-//*****************************************************************************************************************
+
// (proteced!) destructor
-//*****************************************************************************************************************
+
OFrames::~OFrames()
{
// Reset instance, free memory ....
impl_resetObject();
}
-//*****************************************************************************************************************
+
// XFrames
-//*****************************************************************************************************************
void SAL_CALL OFrames::append( const css::uno::Reference< XFrame >& xFrame ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -89,9 +88,8 @@ void SAL_CALL OFrames::append( const css::uno::Reference< XFrame >& xFrame ) thr
SAL_WARN_IF( !xOwner.is(), "fwk", "OFrames::append():Our owner is dead - you can't append any frames ...!" );
}
-//*****************************************************************************************************************
+
// XFrames
-//*****************************************************************************************************************
void SAL_CALL OFrames::remove( const css::uno::Reference< XFrame >& xFrame ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -116,9 +114,8 @@ void SAL_CALL OFrames::remove( const css::uno::Reference< XFrame >& xFrame ) thr
SAL_WARN_IF( !xOwner.is(), "fwk", "OFrames::remove(): Our owner is dead - you can't remove any frames ...!" );
}
-//*****************************************************************************************************************
+
// XFrames
-//*****************************************************************************************************************
Sequence< css::uno::Reference< XFrame > > SAL_CALL OFrames::queryFrames( sal_Int32 nSearchFlags ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -223,9 +220,8 @@ Sequence< css::uno::Reference< XFrame > > SAL_CALL OFrames::queryFrames( sal_Int
return seqFrames;
}
-//*****************************************************************************************************************
+
// XIndexAccess
-//*****************************************************************************************************************
sal_Int32 SAL_CALL OFrames::getCount() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -247,9 +243,9 @@ sal_Int32 SAL_CALL OFrames::getCount() throw( RuntimeException, std::exception )
return nCount;
}
-//*****************************************************************************************************************
+
// XIndexAccess
-//*****************************************************************************************************************
+
Any SAL_CALL OFrames::getByIndex( sal_Int32 nIndex ) throw( IndexOutOfBoundsException ,
WrappedTargetException ,
RuntimeException, std::exception )
@@ -279,18 +275,16 @@ Any SAL_CALL OFrames::getByIndex( sal_Int32 nIndex ) throw( IndexOutOfBoundsExce
return aReturnValue;
}
-//*****************************************************************************************************************
+
// XElementAccess
-//*****************************************************************************************************************
Type SAL_CALL OFrames::getElementType() throw( RuntimeException, std::exception )
{
// This "container" support XFrame-interfaces only!
return ::getCppuType( (const css::uno::Reference< XFrame >*)NULL );
}
-//*****************************************************************************************************************
+
// XElementAccess
-//*****************************************************************************************************************
sal_Bool SAL_CALL OFrames::hasElements() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -314,9 +308,9 @@ sal_Bool SAL_CALL OFrames::hasElements() throw( RuntimeException, std::exception
return bHasElements;
}
-//*****************************************************************************************************************
+
// proteced method
-//*****************************************************************************************************************
+
void OFrames::impl_resetObject()
{
// Attention:
@@ -331,9 +325,9 @@ void OFrames::impl_resetObject()
m_pFrameContainer = NULL;
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
void OFrames::impl_appendSequence( Sequence< css::uno::Reference< XFrame > >& seqDestination ,
const Sequence< css::uno::Reference< XFrame > >& seqSource )
{
@@ -384,7 +378,7 @@ void OFrames::impl_appendSequence( Sequence< css::uno::Reference< XFram
But ... look for right testing! See using of this methods!
-----------------------------------------------------------------------------------------------------------------*/
-//*****************************************************************************************************************
+
// An instance of this class can only work with valid initialization.
// We share the mutex with ouer owner class, need a valid factory to instanciate new services and
// use the access to ouer owner for some operations.
@@ -394,7 +388,7 @@ sal_Bool OFrames::impldbg_checkParameter_OFramesCtor( const css::uno::Refere
return xOwner.is() && pFrameContainer != 0;
}
-//*****************************************************************************************************************
+
// Its only allowed to add valid references to container.
// AND - alle frames must support XFrames-interface!
sal_Bool OFrames::impldbg_checkParameter_append( const css::uno::Reference< XFrame >& xFrame )
@@ -402,7 +396,7 @@ sal_Bool OFrames::impldbg_checkParameter_append( const css::uno::Reference< XFra
return xFrame.is();
}
-//*****************************************************************************************************************
+
// Its only allowed to add valid references to container...
// ... => You can only delete valid references!
sal_Bool OFrames::impldbg_checkParameter_remove( const css::uno::Reference< XFrame >& xFrame )
@@ -410,7 +404,7 @@ sal_Bool OFrames::impldbg_checkParameter_remove( const css::uno::Reference< XFra
return xFrame.is();
}
-//*****************************************************************************************************************
+
// A search for frames must initiate with right flags.
// Some one are superflous and not supported yet. But here we control only the range of incoming parameter!
sal_Bool OFrames::impldbg_checkParameter_queryFrames( sal_Int32 nSearchFlags )
diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx
index 634583b52ea6..7d186140a724 100644
--- a/framework/source/helper/persistentwindowstate.cxx
+++ b/framework/source/helper/persistentwindowstate.cxx
@@ -44,7 +44,7 @@
namespace framework{
-//*****************************************************************************************************************
+
PersistentWindowState::PersistentWindowState(const css::uno::Reference< css::uno::XComponentContext >& xContext)
: ThreadHelpBase (&Application::GetSolarMutex())
, m_xContext (xContext )
@@ -52,12 +52,12 @@ PersistentWindowState::PersistentWindowState(const css::uno::Reference< css::uno
{
}
-//*****************************************************************************************************************
+
PersistentWindowState::~PersistentWindowState()
{
}
-//*****************************************************************************************************************
+
void SAL_CALL PersistentWindowState::initialize(const css::uno::Sequence< css::uno::Any >& lArguments)
throw(css::uno::Exception ,
css::uno::RuntimeException, std::exception)
@@ -88,7 +88,7 @@ void SAL_CALL PersistentWindowState::initialize(const css::uno::Sequence< css::u
xFrame->addFrameActionListener(this);
}
-//*****************************************************************************************************************
+
void SAL_CALL PersistentWindowState::frameAction(const css::frame::FrameActionEvent& aEvent)
throw(css::uno::RuntimeException, std::exception)
{
@@ -149,14 +149,14 @@ void SAL_CALL PersistentWindowState::frameAction(const css::frame::FrameActionEv
}
}
-//*****************************************************************************************************************
+
void SAL_CALL PersistentWindowState::disposing(const css::lang::EventObject&)
throw(css::uno::RuntimeException, std::exception)
{
// nothing todo here - because we hold the frame as weak reference only
}
-//*****************************************************************************************************************
+
OUString PersistentWindowState::implst_identifyModule(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::frame::XFrame >& xFrame)
{
@@ -177,7 +177,7 @@ OUString PersistentWindowState::implst_identifyModule(const css::uno::Reference<
return sModuleName;
}
-//*****************************************************************************************************************
+
OUString PersistentWindowState::implst_getWindowStateFromConfig(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const OUString& sModuleName)
{
@@ -208,7 +208,7 @@ OUString PersistentWindowState::implst_getWindowStateFromConfig(const css::uno::
return sWindowState;
}
-//*****************************************************************************************************************
+
void PersistentWindowState::implst_setWindowStateOnConfig(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const OUString& sModuleName ,
const OUString& sWindowState)
@@ -237,7 +237,7 @@ void PersistentWindowState::implst_setWindowStateOnConfig(const css::uno::Refere
{}
}
-//*****************************************************************************************************************
+
OUString PersistentWindowState::implst_getWindowStateFromWindow(const css::uno::Reference< css::awt::XWindow >& xWindow)
{
OUString sWindowState;
@@ -267,7 +267,7 @@ OUString PersistentWindowState::implst_getWindowStateFromWindow(const css::uno::
}
-//*********************************************************************************************************
+
void PersistentWindowState::implst_setWindowStateOnWindow(const css::uno::Reference< css::awt::XWindow >& xWindow ,
const OUString& sWindowState)
{
diff --git a/framework/source/helper/statusindicator.cxx b/framework/source/helper/statusindicator.cxx
index 8585679d214f..2a94ebe09e5d 100644
--- a/framework/source/helper/statusindicator.cxx
+++ b/framework/source/helper/statusindicator.cxx
@@ -28,19 +28,19 @@
namespace framework{
-//***********************************************
+
StatusIndicator::StatusIndicator(StatusIndicatorFactory* pFactory)
: ThreadHelpBase ( )
, m_xFactory (pFactory)
{
}
-//***********************************************
+
StatusIndicator::~StatusIndicator()
{
}
-//***********************************************
+
void SAL_CALL StatusIndicator::start(const OUString& sText ,
sal_Int32 nRange)
throw(css::uno::RuntimeException, std::exception)
@@ -57,7 +57,7 @@ void SAL_CALL StatusIndicator::start(const OUString& sText ,
}
}
-//***********************************************
+
void SAL_CALL StatusIndicator::end()
throw(css::uno::RuntimeException, std::exception)
{
@@ -73,7 +73,7 @@ void SAL_CALL StatusIndicator::end()
}
}
-//***********************************************
+
void SAL_CALL StatusIndicator::reset()
throw(css::uno::RuntimeException, std::exception)
{
@@ -89,7 +89,7 @@ void SAL_CALL StatusIndicator::reset()
}
}
-//***********************************************
+
void SAL_CALL StatusIndicator::setText(const OUString& sText)
throw(css::uno::RuntimeException, std::exception)
{
@@ -105,7 +105,7 @@ void SAL_CALL StatusIndicator::setText(const OUString& sText)
}
}
-//***********************************************
+
void SAL_CALL StatusIndicator::setValue(sal_Int32 nValue)
throw(css::uno::RuntimeException, std::exception)
{
diff --git a/framework/source/helper/tagwindowasmodified.cxx b/framework/source/helper/tagwindowasmodified.cxx
index 538b789d8a7e..3e713ca31a54 100644
--- a/framework/source/helper/tagwindowasmodified.cxx
+++ b/framework/source/helper/tagwindowasmodified.cxx
@@ -42,18 +42,18 @@
namespace framework{
-//*****************************************************************************************************************
+
TagWindowAsModified::TagWindowAsModified()
: ThreadHelpBase (&Application::GetSolarMutex())
{
}
-//*****************************************************************************************************************
+
TagWindowAsModified::~TagWindowAsModified()
{
}
-//*****************************************************************************************************************
+
void SAL_CALL TagWindowAsModified::initialize(const css::uno::Sequence< css::uno::Any >& lArguments)
throw(css::uno::Exception ,
css::uno::RuntimeException, std::exception)
@@ -76,7 +76,7 @@ void SAL_CALL TagWindowAsModified::initialize(const css::uno::Sequence< css::uno
impl_update (xFrame);
}
-//*****************************************************************************************************************
+
void SAL_CALL TagWindowAsModified::modified(const css::lang::EventObject& aEvent)
throw(css::uno::RuntimeException, std::exception)
{
@@ -116,7 +116,7 @@ void SAL_CALL TagWindowAsModified::modified(const css::lang::EventObject& aEvent
// <- SYNCHRONIZED
}
-//*****************************************************************************************************************
+
void SAL_CALL TagWindowAsModified::frameAction(const css::frame::FrameActionEvent& aEvent)
throw(css::uno::RuntimeException, std::exception)
{
@@ -142,7 +142,7 @@ void SAL_CALL TagWindowAsModified::frameAction(const css::frame::FrameActionEven
impl_update (xFrame);
}
-//*****************************************************************************************************************
+
void SAL_CALL TagWindowAsModified::disposing(const css::lang::EventObject& aEvent)
throw(css::uno::RuntimeException, std::exception)
{
@@ -173,7 +173,7 @@ void SAL_CALL TagWindowAsModified::disposing(const css::lang::EventObject& aEven
// <- SAFE ----------------------------------
}
-//*****************************************************************************************************************
+
void TagWindowAsModified::impl_update (const css::uno::Reference< css::frame::XFrame >& xFrame)
{
if ( ! xFrame.is ())
diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx
index 188d09512bdc..5a95a936e504 100644
--- a/framework/source/helper/titlebarupdate.cxx
+++ b/framework/source/helper/titlebarupdate.cxx
@@ -53,7 +53,7 @@ static const ::sal_Int32 INVALID_ICON_ID = -1;
static const ::sal_Int32 DEFAULT_ICON_ID = 0;
-//*****************************************************************************************************************
+
TitleBarUpdate::TitleBarUpdate(const css::uno::Reference< css::uno::XComponentContext >& xContext)
: ThreadHelpBase (&Application::GetSolarMutex())
, m_xContext (xContext )
@@ -61,12 +61,12 @@ TitleBarUpdate::TitleBarUpdate(const css::uno::Reference< css::uno::XComponentCo
{
}
-//*****************************************************************************************************************
+
TitleBarUpdate::~TitleBarUpdate()
{
}
-//*****************************************************************************************************************
+
void SAL_CALL TitleBarUpdate::initialize(const css::uno::Sequence< css::uno::Any >& lArguments)
throw(css::uno::Exception ,
css::uno::RuntimeException, std::exception)
@@ -101,7 +101,7 @@ void SAL_CALL TitleBarUpdate::initialize(const css::uno::Sequence< css::uno::Any
xBroadcaster->addTitleChangeListener (this);
}
-//*****************************************************************************************************************
+
void SAL_CALL TitleBarUpdate::frameAction(const css::frame::FrameActionEvent& aEvent)
throw(css::uno::RuntimeException, std::exception)
{
@@ -117,14 +117,14 @@ void SAL_CALL TitleBarUpdate::frameAction(const css::frame::FrameActionEvent& aE
}
}
-//*****************************************************************************************************************
+
void SAL_CALL TitleBarUpdate::titleChanged(const css::frame::TitleChangedEvent& /* aEvent */)
throw (css::uno::RuntimeException, std::exception)
{
impl_forceUpdate ();
}
-//*****************************************************************************************************************
+
void SAL_CALL TitleBarUpdate::disposing(const css::lang::EventObject&)
throw(css::uno::RuntimeException, std::exception)
{
@@ -209,7 +209,7 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr
}
-//*****************************************************************************************************************
+
::sal_Bool TitleBarUpdate::implst_getModuleInfo(const css::uno::Reference< css::frame::XFrame >& xFrame,
TModuleInfo& rInfo )
{
@@ -244,7 +244,7 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr
return sal_False;
}
-//*****************************************************************************************************************
+
void TitleBarUpdate::impl_forceUpdate()
{
// SYNCHRONIZED ->
@@ -269,7 +269,7 @@ void TitleBarUpdate::impl_forceUpdate()
#endif
}
-//*****************************************************************************************************************
+
void TitleBarUpdate::impl_updateIcon(const css::uno::Reference< css::frame::XFrame >& xFrame)
{
css::uno::Reference< css::frame::XController > xController = xFrame->getController ();
@@ -341,7 +341,7 @@ void TitleBarUpdate::impl_updateIcon(const css::uno::Reference< css::frame::XFra
// <- VCL SYNCHRONIZED
}
-//*****************************************************************************************************************
+
void TitleBarUpdate::impl_updateTitle(const css::uno::Reference< css::frame::XFrame >& xFrame)
{
// no window ... no chance to set any title -> return
diff --git a/framework/source/helper/wakeupthread.cxx b/framework/source/helper/wakeupthread.cxx
index 67977728290c..08fdc66fcf2d 100644
--- a/framework/source/helper/wakeupthread.cxx
+++ b/framework/source/helper/wakeupthread.cxx
@@ -28,14 +28,14 @@
namespace framework{
-//***********************************************
+
WakeUpThread::WakeUpThread(const css::uno::Reference< css::util::XUpdatable >& xListener)
: ThreadHelpBase( )
, m_xListener (xListener)
{
}
-//***********************************************
+
void SAL_CALL WakeUpThread::run()
{
::osl::Condition aSleeper;
@@ -60,7 +60,7 @@ void SAL_CALL WakeUpThread::run()
}
}
-//***********************************************
+
void SAL_CALL WakeUpThread::onTerminated()
{
delete this;