summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 11:12:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 13:53:39 +0200
commit26b0e86405b27a0342a5b42f82a944559f3a1358 (patch)
treec5b68ca6fd52f467243c53c53feaa1ed5da105a1 /ucbhelper
parentde409aeed2e1efad47a25794d7a1ffba0272e35c (diff)
inline InteractionContinuation_Impl
since it only contains one field, and does nothing special with it Change-Id: Ie1c099a4507a6b99af28be5852793ccaa557aa72
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/provider/interactionrequest.cxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/ucbhelper/source/provider/interactionrequest.cxx b/ucbhelper/source/provider/interactionrequest.cxx
index 52bc3b496bec..c8d0858bea18 100644
--- a/ucbhelper/source/provider/interactionrequest.cxx
+++ b/ucbhelper/source/provider/interactionrequest.cxx
@@ -187,23 +187,10 @@ InteractionRequest::getContinuations()
// InteractionContinuation Implementation.
-namespace ucbhelper
-{
-
-struct InteractionContinuation_Impl
-{
- InteractionRequest * m_pRequest;
-
- explicit InteractionContinuation_Impl( InteractionRequest * pRequest )
- : m_pRequest( pRequest ) {}
-};
-
-}
-
InteractionContinuation::InteractionContinuation(
InteractionRequest * pRequest )
-: m_pImpl( new InteractionContinuation_Impl( pRequest ) )
+: m_pRequest( pRequest )
{
}
@@ -216,7 +203,7 @@ InteractionContinuation::~InteractionContinuation()
void InteractionContinuation::recordSelection()
{
- m_pImpl->m_pRequest->setSelection( this );
+ m_pRequest->setSelection( this );
}