summaryrefslogtreecommitdiff
path: root/framework/source/fwe/dispatch/interaction.cxx
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 /framework/source/fwe/dispatch/interaction.cxx
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 'framework/source/fwe/dispatch/interaction.cxx')
-rw-r--r--framework/source/fwe/dispatch/interaction.cxx40
1 files changed, 20 insertions, 20 deletions
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();