From 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Sat, 22 Feb 2014 21:20:15 +0100 Subject: Remove unneccessary comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- framework/source/fwe/dispatch/interaction.cxx | 40 +++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'framework/source/fwe/dispatch/interaction.cxx') diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx index c70b608ee3d8..61dc5bed6b97 100644 --- a/framework/source/fwe/dispatch/interaction.cxx +++ b/framework/source/fwe/dispatch/interaction.cxx @@ -63,25 +63,25 @@ class ContinuationFilterSelect : public comphelper::OInteraction< ::com::sun::st }; // class ContinuationFilterSelect -//--------------------------------------------------------------------------------------------------------- + // initialize continuation with right start values -//--------------------------------------------------------------------------------------------------------- + ContinuationFilterSelect::ContinuationFilterSelect() : m_sFilter( OUString() ) { } -//--------------------------------------------------------------------------------------------------------- + // handler should use it after selection to set user specified filter for transport -//--------------------------------------------------------------------------------------------------------- + void SAL_CALL ContinuationFilterSelect::setFilter( const OUString& sFilter ) throw( css::uno::RuntimeException ) { m_sFilter = sFilter; } -//--------------------------------------------------------------------------------------------------------- + // read access to transported filter -//--------------------------------------------------------------------------------------------------------- + OUString SAL_CALL ContinuationFilterSelect::getFilter() throw( css::uno::RuntimeException ) { return m_sFilter; @@ -105,10 +105,10 @@ private: ContinuationFilterSelect* m_pFilter; }; -//--------------------------------------------------------------------------------------------------------- + // initialize instance with all necessary information // We use it without any further checks on our member then ...! -//--------------------------------------------------------------------------------------------------------- + RequestFilterSelect_Impl::RequestFilterSelect_Impl( const OUString& sURL ) { OUString temp; @@ -126,39 +126,39 @@ RequestFilterSelect_Impl::RequestFilterSelect_Impl( const OUString& sURL ) m_lContinuations[1] = css::uno::Reference< css::task::XInteractionContinuation >( m_pFilter ); } -//--------------------------------------------------------------------------------------------------------- + // return abort state of interaction // If it is true, return value of method "getFilter()" will be unspecified then! -//--------------------------------------------------------------------------------------------------------- + sal_Bool RequestFilterSelect_Impl::isAbort() const { return m_pAbort->wasSelected(); } -//--------------------------------------------------------------------------------------------------------- + // return user selected filter // Return value valid for non aborted interaction only. Please check "isAbort()" before you call these ony! -//--------------------------------------------------------------------------------------------------------- + OUString RequestFilterSelect_Impl::getFilter() const { return m_pFilter->getFilter(); } -//--------------------------------------------------------------------------------------------------------- + // handler call it to get type of request // Is hard coded to "please select filter" here. see ctor for further information. -//--------------------------------------------------------------------------------------------------------- + css::uno::Any SAL_CALL RequestFilterSelect_Impl::getRequest() throw( css::uno::RuntimeException ) { return m_aRequest; } -//--------------------------------------------------------------------------------------------------------- + // handler call it to get possible continuations // We support "abort/select_filter" only here. // After interaction we support read access on these continuations on our c++ interface to // return user decision. -//--------------------------------------------------------------------------------------------------------- + css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL RequestFilterSelect_Impl::getContinuations() throw( css::uno::RuntimeException ) { return m_lContinuations; @@ -177,19 +177,19 @@ RequestFilterSelect::~RequestFilterSelect() } -//--------------------------------------------------------------------------------------------------------- + // return abort state of interaction // If it is true, return value of method "getFilter()" will be unspecified then! -//--------------------------------------------------------------------------------------------------------- + sal_Bool RequestFilterSelect::isAbort() const { return pImp->isAbort(); } -//--------------------------------------------------------------------------------------------------------- + // return user selected filter // Return value valid for non aborted interaction only. Please check "isAbort()" before you call these ony! -//--------------------------------------------------------------------------------------------------------- + OUString RequestFilterSelect::getFilter() const { return pImp->getFilter(); -- cgit