summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /UnoControls
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/base/basecontainercontrol.cxx100
-rw-r--r--UnoControls/source/base/multiplexer.cxx140
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx48
-rw-r--r--UnoControls/source/controls/statusindicator.cxx96
4 files changed, 192 insertions, 192 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index 93f7cc209b0c..ae63f0b57730 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -21,9 +21,9 @@
#include <cppuhelper/typeprovider.hxx>
-//____________________________________________________________________________________________________________
+
// namespaces
-//____________________________________________________________________________________________________________
+
using namespace ::cppu ;
using namespace ::osl ;
@@ -35,9 +35,9 @@ using namespace ::com::sun::star::container ;
namespace unocontrols{
-//____________________________________________________________________________________________________________
+
// construct/destruct
-//____________________________________________________________________________________________________________
+
BaseContainerControl::BaseContainerControl( const Reference< XComponentContext >& rxContext )
: BaseControl ( rxContext )
@@ -50,9 +50,9 @@ BaseContainerControl::~BaseContainerControl()
impl_cleanMemory();
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
Any SAL_CALL BaseContainerControl::queryInterface( const Type& rType ) throw( RuntimeException )
{
@@ -75,9 +75,9 @@ Any SAL_CALL BaseContainerControl::queryInterface( const Type& rType ) throw( Ru
return aReturn ;
}
-//____________________________________________________________________________________________________________
+
// XTypeProvider
-//____________________________________________________________________________________________________________
+
Sequence< Type > SAL_CALL BaseContainerControl::getTypes() throw( RuntimeException )
{
@@ -107,9 +107,9 @@ Sequence< Type > SAL_CALL BaseContainerControl::getTypes() throw( RuntimeExcepti
return pTypeCollection->getTypes();
}
-//____________________________________________________________________________________________________________
+
// XAggregation
-//____________________________________________________________________________________________________________
+
Any SAL_CALL BaseContainerControl::queryAggregation( const Type& aType ) throw( RuntimeException )
{
@@ -134,9 +134,9 @@ Any SAL_CALL BaseContainerControl::queryAggregation( const Type& aType ) throw(
}
}
-//____________________________________________________________________________________________________________
+
// XControl
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::createPeer( const Reference< XToolkit >& xToolkit ,
const Reference< XWindowPeer >& xParent ) throw( RuntimeException )
@@ -161,9 +161,9 @@ void SAL_CALL BaseContainerControl::createPeer( const Reference< XToolkit >&
}
}
-//____________________________________________________________________________________________________________
+
// XControl
-//____________________________________________________________________________________________________________
+
sal_Bool SAL_CALL BaseContainerControl::setModel( const Reference< XControlModel >& ) throw( RuntimeException )
{
@@ -171,9 +171,9 @@ sal_Bool SAL_CALL BaseContainerControl::setModel( const Reference< XControlModel
return sal_False ;
}
-//____________________________________________________________________________________________________________
+
// XControl
-//____________________________________________________________________________________________________________
+
Reference< XControlModel > SAL_CALL BaseContainerControl::getModel() throw( RuntimeException )
{
@@ -182,9 +182,9 @@ Reference< XControlModel > SAL_CALL BaseContainerControl::getModel() throw( Runt
return Reference< XControlModel >();
}
-//____________________________________________________________________________________________________________
+
// XComponent
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException )
{
@@ -223,9 +223,9 @@ void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException )
BaseControl::dispose();
}
-//____________________________________________________________________________________________________________
+
// XEventListener
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw( RuntimeException )
{
@@ -235,9 +235,9 @@ void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw
removeControl( xControl );
}
-//____________________________________________________________________________________________________________
+
// XControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Reference< XControl > & rControl ) throw( RuntimeException )
{
@@ -294,9 +294,9 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re
}
}
-//____________________________________________________________________________________________________________
+
// XControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::addContainerListener ( const Reference< XContainerListener > & rListener ) throw( RuntimeException )
{
@@ -306,9 +306,9 @@ void SAL_CALL BaseContainerControl::addContainerListener ( const Reference< XCon
m_aListeners.addInterface ( ::getCppuType((const Reference< XContainerListener >*)0), rListener ) ;
}
-//____________________________________________________________________________________________________________
+
// XControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl > & rControl ) throw( RuntimeException )
{
@@ -359,9 +359,9 @@ void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl >
}
}
-//____________________________________________________________________________________________________________
+
// XControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::removeContainerListener ( const Reference< XContainerListener > & rListener ) throw( RuntimeException )
{
@@ -371,9 +371,9 @@ void SAL_CALL BaseContainerControl::removeContainerListener ( const Reference< X
m_aListeners.removeInterface ( ::getCppuType((const Reference< XContainerListener >*)0), rListener ) ;
}
-//____________________________________________________________________________________________________________
+
// XControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText ) throw( RuntimeException )
{
@@ -386,9 +386,9 @@ void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText
}
}
-//____________________________________________________________________________________________________________
+
// XControlContainer
-//____________________________________________________________________________________________________________
+
Reference< XControl > SAL_CALL BaseContainerControl::getControl ( const OUString& rName ) throw( RuntimeException )
{
@@ -414,9 +414,9 @@ Reference< XControl > SAL_CALL BaseContainerControl::getControl ( const OUString
return Reference< XControl > () ;
}
-//____________________________________________________________________________________________________________
+
// XControlContainer
-//____________________________________________________________________________________________________________
+
Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls () throw( RuntimeException )
{
@@ -439,9 +439,9 @@ Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls ()
return aDescriptor ;
}
-//____________________________________________________________________________________________________________
+
// XUnoControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::addTabController ( const Reference< XTabController > & rTabController ) throw( RuntimeException )
{
@@ -465,9 +465,9 @@ void SAL_CALL BaseContainerControl::addTabController ( const Reference< XTabCont
m_xTabControllerList = aNewList ;
}
-//____________________________________________________________________________________________________________
+
// XUnoControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::removeTabController ( const Reference< XTabController > & rTabController ) throw( RuntimeException )
{
@@ -489,9 +489,9 @@ void SAL_CALL BaseContainerControl::removeTabController ( const Reference< XTabC
}
}
-//____________________________________________________________________________________________________________
+
// XUnoControlContainer
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::setTabControllers ( const Sequence< Reference< XTabController > >& rTabControllers ) throw( RuntimeException )
{
@@ -509,9 +509,9 @@ Sequence<Reference< XTabController > > SAL_CALL BaseContainerControl::getTabCont
return m_xTabControllerList ;
}
-//____________________________________________________________________________________________________________
+
// XWindow
-//____________________________________________________________________________________________________________
+
void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( RuntimeException )
{
@@ -526,9 +526,9 @@ void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( Runt
}
}
-//____________________________________________________________________________________________________________
+
// protected method
-//____________________________________________________________________________________________________________
+
WindowDescriptor* BaseContainerControl::impl_getWindowDescriptor ( const Reference< XWindowPeer > & rParentPeer )
{
@@ -548,17 +548,17 @@ WindowDescriptor* BaseContainerControl::impl_getWindowDescriptor ( const Referen
return aDescriptor ;
}
-//____________________________________________________________________________________________________________
+
// protected method
-//____________________________________________________________________________________________________________
+
void BaseContainerControl::impl_paint ( sal_Int32 /*nX*/, sal_Int32 /*nY*/, const Reference< XGraphics > & /*rGraphics*/ )
{
}
-//____________________________________________________________________________________________________________
+
// private method
-//____________________________________________________________________________________________________________
+
void BaseContainerControl::impl_activateTabControllers ()
{
@@ -575,9 +575,9 @@ void BaseContainerControl::impl_activateTabControllers ()
}
}
-//____________________________________________________________________________________________________________
+
// private method
-//____________________________________________________________________________________________________________
+
void BaseContainerControl::impl_cleanMemory ()
{
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index 416042bd970c..0dd2bc41cfe5 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -29,9 +29,9 @@ using namespace ::com::sun::star::lang ;
namespace unocontrols{
-//____________________________________________________________________________________________________________
+
// macros
-//____________________________________________________________________________________________________________
+
#define MULTIPLEX( INTERFACE, METHOD, EVENTTYP, EVENT ) \
\
@@ -63,9 +63,9 @@ namespace unocontrols{
} \
}
-//____________________________________________________________________________________________________________
+
// construct/destruct
-//____________________________________________________________________________________________________________
+
OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const Reference< XWindow >& xControl ,
const Reference< XWindow >& xPeer )
@@ -92,9 +92,9 @@ OMRCListenerMultiplexerHelper::~OMRCListenerMultiplexerHelper()
{
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
Any SAL_CALL OMRCListenerMultiplexerHelper::queryInterface( const Type& rType ) throw( RuntimeException )
{
@@ -128,9 +128,9 @@ Any SAL_CALL OMRCListenerMultiplexerHelper::queryInterface( const Type& rType )
}
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
void SAL_CALL OMRCListenerMultiplexerHelper::acquire() throw()
{
@@ -141,9 +141,9 @@ void SAL_CALL OMRCListenerMultiplexerHelper::acquire() throw()
OWeakObject::acquire();
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
void SAL_CALL OMRCListenerMultiplexerHelper::release() throw()
{
@@ -154,18 +154,18 @@ void SAL_CALL OMRCListenerMultiplexerHelper::release() throw()
OWeakObject::release();
}
-//____________________________________________________________________________________________________________
+
// operator
-//____________________________________________________________________________________________________________
+
OMRCListenerMultiplexerHelper::operator Reference< XInterface >() const
{
return ((OWeakObject*)this) ;
}
-//____________________________________________________________________________________________________________
+
// container method
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::setPeer( const Reference< XWindow >& xPeer )
{
@@ -196,9 +196,9 @@ void OMRCListenerMultiplexerHelper::setPeer( const Reference< XWindow >& xPeer )
}
}
-//____________________________________________________________________________________________________________
+
// container method
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::disposeAndClear()
{
@@ -207,9 +207,9 @@ void OMRCListenerMultiplexerHelper::disposeAndClear()
m_aListenerHolder.disposeAndClear( aEvent );
}
-//____________________________________________________________________________________________________________
+
// container method
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::advise( const Type& aType ,
const Reference< XInterface >& xListener )
@@ -225,9 +225,9 @@ void OMRCListenerMultiplexerHelper::advise( const Type&
}
}
-//____________________________________________________________________________________________________________
+
// container method
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::unadvise( const Type& aType ,
const Reference< XInterface >& xListener )
@@ -243,9 +243,9 @@ void OMRCListenerMultiplexerHelper::unadvise( const Type&
}
}
-//____________________________________________________________________________________________________________
+
// XEventListener
-//____________________________________________________________________________________________________________
+
void SAL_CALL OMRCListenerMultiplexerHelper::disposing( const EventObject& /*aSource*/ ) throw( RuntimeException )
{
@@ -254,207 +254,207 @@ void SAL_CALL OMRCListenerMultiplexerHelper::disposing( const EventObject& /*aSo
m_xPeer.clear();
}
-//____________________________________________________________________________________________________________
+
// XFcousListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::focusGained(const FocusEvent& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XFocusListener, focusGained, FocusEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XFcousListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::focusLost(const FocusEvent& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XFocusListener, focusLost, FocusEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowResized(const WindowEvent& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XWindowListener, windowResized, WindowEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowMoved(const WindowEvent& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XWindowListener, windowMoved, WindowEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowShown(const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XWindowListener, windowShown, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowHidden(const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XWindowListener, windowHidden, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XKeyListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::keyPressed(const KeyEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XKeyListener, keyPressed, KeyEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XKeyListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::keyReleased(const KeyEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XKeyListener, keyReleased, KeyEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XMouseListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::mousePressed(const MouseEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XMouseListener, mousePressed, MouseEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XMouseListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::mouseReleased(const MouseEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XMouseListener, mouseReleased, MouseEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XMouseListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::mouseEntered(const MouseEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XMouseListener, mouseEntered, MouseEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XMouseListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::mouseExited(const MouseEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XMouseListener, mouseExited, MouseEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XMouseMotionListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::mouseDragged(const MouseEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XMouseMotionListener, mouseDragged, MouseEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XMouseMotionListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::mouseMoved(const MouseEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XMouseMotionListener, mouseMoved, MouseEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XPaintListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowPaint(const PaintEvent& aEvent) throw( RuntimeException )
{
MULTIPLEX( XPaintListener, windowPaint, PaintEvent, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XTopWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowOpened(const EventObject& aEvent) throw( RuntimeException )
{
MULTIPLEX( XTopWindowListener, windowOpened, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XTopWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowClosing( const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XTopWindowListener, windowClosing, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XTopWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowClosed( const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XTopWindowListener, windowClosed, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XTopWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowMinimized( const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XTopWindowListener, windowMinimized, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XTopWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowNormalized( const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XTopWindowListener, windowNormalized, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XTopWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowActivated( const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XTopWindowListener, windowActivated, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// XTopWindowListener
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::windowDeactivated( const EventObject& aEvent ) throw( RuntimeException )
{
MULTIPLEX( XTopWindowListener, windowDeactivated, EventObject, aEvent )
}
-//____________________________________________________________________________________________________________
+
// protected method
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::impl_adviseToPeer( const Reference< XWindow >& xPeer ,
const Type& aType )
@@ -484,9 +484,9 @@ void OMRCListenerMultiplexerHelper::impl_adviseToPeer( const Reference< XWind
}
}
-//____________________________________________________________________________________________________________
+
// protected method
-//____________________________________________________________________________________________________________
+
void OMRCListenerMultiplexerHelper::impl_unadviseFromPeer( const Reference< XWindow >& xPeer ,
const Type& aType )
diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index 9759347fa067..c0d82b585b57 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -21,9 +21,9 @@
#include "OConnectionPointContainerHelper.hxx"
-//______________________________________________________________________________________________________________
+
// namespaces
-//______________________________________________________________________________________________________________
+
using namespace ::rtl ;
using namespace ::osl ;
@@ -33,9 +33,9 @@ using namespace ::com::sun::star::lang ;
namespace unocontrols{
-//______________________________________________________________________________________________________________
+
// construct/destruct
-//______________________________________________________________________________________________________________
+
OConnectionPointHelper::OConnectionPointHelper(
Mutex& aMutex ,
@@ -52,9 +52,9 @@ OConnectionPointHelper::~OConnectionPointHelper()
{
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType ) throw( RuntimeException )
{
@@ -77,9 +77,9 @@ Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType ) throw(
return aReturn ;
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
void SAL_CALL OConnectionPointHelper::acquire() throw()
{
@@ -90,9 +90,9 @@ void SAL_CALL OConnectionPointHelper::acquire() throw()
OWeakObject::acquire();
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
void SAL_CALL OConnectionPointHelper::release() throw()
{
@@ -103,9 +103,9 @@ void SAL_CALL OConnectionPointHelper::release() throw()
OWeakObject::release();
}
-//______________________________________________________________________________________________________________
+
// XConnectionPoint
-//______________________________________________________________________________________________________________
+
Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeException )
{
@@ -127,9 +127,9 @@ Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeExceptio
return aReturnType;
}
-//______________________________________________________________________________________________________________
+
// XConnectionPoint
-//______________________________________________________________________________________________________________
+
Reference< XConnectionPointContainer > SAL_CALL OConnectionPointHelper::getConnectionPointContainer() throw( RuntimeException )
{
@@ -139,9 +139,9 @@ Reference< XConnectionPointContainer > SAL_CALL OConnectionPointHelper::getConne
return Reference< XConnectionPointContainer >( m_oContainerWeakReference.get(), UNO_QUERY );
}
-//______________________________________________________________________________________________________________
+
// XConnectionPoint
-//______________________________________________________________________________________________________________
+
void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xListener ) throw( ListenerExistException ,
InvalidListenerException ,
@@ -174,9 +174,9 @@ void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xLi
impl_UnlockContainer();
}
-//______________________________________________________________________________________________________________
+
// XConnectionPoint
-//______________________________________________________________________________________________________________
+
void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& xListener ) throw( RuntimeException )
{
@@ -195,9 +195,9 @@ void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& x
impl_UnlockContainer();
}
-//______________________________________________________________________________________________________________
+
// XConnectionPoint
-//______________________________________________________________________________________________________________
+
Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnections() throw( RuntimeException )
{
@@ -226,9 +226,9 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti
return seqReturnConnections;
}
-//______________________________________________________________________________________________________________
+
// private method
-//______________________________________________________________________________________________________________
+
bool OConnectionPointHelper::impl_LockContainer()
{
@@ -239,9 +239,9 @@ bool OConnectionPointHelper::impl_LockContainer()
return m_xLock.is();
}
-//______________________________________________________________________________________________________________
+
// private method
-//______________________________________________________________________________________________________________
+
void OConnectionPointHelper::impl_UnlockContainer()
{
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx
index 49f76053e63b..91d1b286d76f 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -36,9 +36,9 @@ using namespace ::com::sun::star::task ;
namespace unocontrols{
-//____________________________________________________________________________________________________________
+
// construct/destruct
-//____________________________________________________________________________________________________________
+
StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext >& rxContext )
: BaseContainerControl ( rxContext )
@@ -69,9 +69,9 @@ StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext >
StatusIndicator::~StatusIndicator() {}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
Any SAL_CALL StatusIndicator::queryInterface( const Type& rType ) throw( RuntimeException )
{
@@ -94,9 +94,9 @@ Any SAL_CALL StatusIndicator::queryInterface( const Type& rType ) throw( Runtime
return aReturn ;
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::acquire() throw()
{
@@ -107,9 +107,9 @@ void SAL_CALL StatusIndicator::acquire() throw()
BaseControl::acquire();
}
-//____________________________________________________________________________________________________________
+
// XInterface
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::release() throw()
{
@@ -120,9 +120,9 @@ void SAL_CALL StatusIndicator::release() throw()
BaseControl::release();
}
-//____________________________________________________________________________________________________________
+
// XTypeProvider
-//____________________________________________________________________________________________________________
+
Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException )
{
@@ -152,9 +152,9 @@ Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException )
return pTypeCollection->getTypes();
}
-//____________________________________________________________________________________________________________
+
// XAggregation
-//____________________________________________________________________________________________________________
+
Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( RuntimeException )
{
@@ -176,9 +176,9 @@ Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( Runti
return aReturn ;
}
-//____________________________________________________________________________________________________________
+
// XStatusIndicator
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange ) throw( RuntimeException )
{
@@ -192,9 +192,9 @@ void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange )
impl_recalcLayout ( WindowEvent(static_cast< OWeakObject* >(this),0,0,impl_getWidth(),impl_getHeight(),0,0,0,0) ) ;
}
-//____________________________________________________________________________________________________________
+
// XStatusIndicator
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::end() throw( RuntimeException )
{
@@ -207,9 +207,9 @@ void SAL_CALL StatusIndicator::end() throw( RuntimeException )
setVisible( sal_False );
}
-//____________________________________________________________________________________________________________
+
// XStatusIndicator
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeException )
{
@@ -220,9 +220,9 @@ void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeEx
m_xText->setText( sText );
}
-//____________________________________________________________________________________________________________
+
// XStatusIndicator
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeException )
{
@@ -233,9 +233,9 @@ void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeExcept
m_xProgressBar->setValue( nValue );
}
-//____________________________________________________________________________________________________________
+
// XStatusIndicator
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::reset() throw( RuntimeException )
{
@@ -248,18 +248,18 @@ void SAL_CALL StatusIndicator::reset() throw( RuntimeException )
m_xProgressBar->setValue( 0 );
}
-//____________________________________________________________________________________________________________
+
// XLayoutConstrains
-//____________________________________________________________________________________________________________
+
Size SAL_CALL StatusIndicator::getMinimumSize () throw( RuntimeException )
{
return Size (STATUSINDICATOR_DEFAULT_WIDTH, STATUSINDICATOR_DEFAULT_HEIGHT) ;
}
-//____________________________________________________________________________________________________________
+
// XLayoutConstrains
-//____________________________________________________________________________________________________________
+
Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException )
{
@@ -290,18 +290,18 @@ Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException )
return Size ( nWidth, nHeight ) ;
}
-//____________________________________________________________________________________________________________
+
// XLayoutConstrains
-//____________________________________________________________________________________________________________
+
Size SAL_CALL StatusIndicator::calcAdjustedSize ( const Size& /*rNewSize*/ ) throw( RuntimeException )
{
return getPreferredSize () ;
}
-//____________________________________________________________________________________________________________
+
// XControl
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::createPeer (
const css::uno::Reference< XToolkit > & rToolkit,
@@ -320,9 +320,9 @@ void SAL_CALL StatusIndicator::createPeer (
}
}
-//____________________________________________________________________________________________________________
+
// XControl
-//____________________________________________________________________________________________________________
+
sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XControlModel > & /*rModel*/ ) throw( RuntimeException )
{
@@ -330,9 +330,9 @@ sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XContro
return sal_False ;
}
-//____________________________________________________________________________________________________________
+
// XControl
-//____________________________________________________________________________________________________________
+
css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw( RuntimeException )
{
@@ -341,9 +341,9 @@ css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw
return css::uno::Reference< XControlModel > () ;
}
-//____________________________________________________________________________________________________________
+
// XComponent
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::dispose () throw( RuntimeException )
{
@@ -363,9 +363,9 @@ void SAL_CALL StatusIndicator::dispose () throw( RuntimeException )
BaseContainerControl::dispose();
}
-//____________________________________________________________________________________________________________
+
// XWindow
-//____________________________________________________________________________________________________________
+
void SAL_CALL StatusIndicator::setPosSize (
sal_Int32 nX,
@@ -394,27 +394,27 @@ void SAL_CALL StatusIndicator::setPosSize (
}
}
-//____________________________________________________________________________________________________________
+
// impl but public method to register service
-//____________________________________________________________________________________________________________
+
const Sequence< OUString > StatusIndicator::impl_getStaticSupportedServiceNames()
{
return css::uno::Sequence<OUString>();
}
-//____________________________________________________________________________________________________________
+
// impl but public method to register service
-//____________________________________________________________________________________________________________
+
const OUString StatusIndicator::impl_getStaticImplementationName()
{
return OUString("stardiv.UnoControls.StatusIndicator");
}
-//____________________________________________________________________________________________________________
+
// protected method
-//____________________________________________________________________________________________________________
+
WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const css::uno::Reference< XWindowPeer >& xParentPeer )
{
@@ -433,9 +433,9 @@ WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const css::uno::Ref
return pDescriptor ;
}
-//____________________________________________________________________________________________________________
+
// protected method
-//____________________________________________________________________________________________________________
+
void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const css::uno::Reference< XGraphics > & rGraphics )
{
@@ -472,9 +472,9 @@ void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const css::uno::R
}
}
-//____________________________________________________________________________________________________________
+
// protected method
-//____________________________________________________________________________________________________________
+
void StatusIndicator::impl_recalcLayout ( const WindowEvent& aEvent )
{