diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:54:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 14:41:41 -0600 |
commit | fcbefea01766e0888f7813672d9eddbdec5a9046 (patch) | |
tree | 8861652061bb2189350824217c98a259a9a9d2ec /framework/source/helper/ocomponentenumeration.cxx | |
parent | a395c9fa387eabf2d09360f1023f5e3e66af21a8 (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/ocomponentenumeration.cxx')
-rw-r--r-- | framework/source/helper/ocomponentenumeration.cxx | 26 |
1 files changed, 12 insertions, 14 deletions
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(); |