summaryrefslogtreecommitdiff
path: root/ucbhelper/source
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2001-05-28 11:42:46 +0000
committerKai Sommerfeld <kso@openoffice.org>2001-05-28 11:42:46 +0000
commit751547a49258a15d09a5ee81dfb06944c5ad71fa (patch)
tree09c17c9948a6d5c41ea6ff44390f07e70feeff0d /ucbhelper/source
parentce509cd0043c1919b6c68d15e23abfdadffcb95f (diff)
#87187# - Use rtl::Reference instead of obsolete vos::ORef
Diffstat (limited to 'ucbhelper/source')
-rw-r--r--ucbhelper/source/provider/interactionrequest.cxx11
-rw-r--r--ucbhelper/source/provider/simpleauthenticationrequest.cxx6
-rw-r--r--ucbhelper/source/provider/simpleinteractionrequest.cxx10
3 files changed, 14 insertions, 13 deletions
diff --git a/ucbhelper/source/provider/interactionrequest.cxx b/ucbhelper/source/provider/interactionrequest.cxx
index 112a0d0cd4c0..8fb271099f06 100644
--- a/ucbhelper/source/provider/interactionrequest.cxx
+++ b/ucbhelper/source/provider/interactionrequest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: interactionrequest.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: kso $ $Date: 2001-05-28 10:48:20 $
+ * last change: $Author: kso $ $Date: 2001-05-28 12:42:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,7 +93,7 @@ namespace ucbhelper
struct InteractionRequest_Impl
{
- vos::ORef< InteractionContinuation > m_xSelection;
+ rtl::Reference< InteractionContinuation > m_xSelection;
com::sun::star::uno::Any m_aRequest;
com::sun::star::uno::Sequence<
com::sun::star::uno::Reference<
@@ -140,14 +140,15 @@ void InteractionRequest::setContinuations(
}
//=========================================================================
-vos::ORef< InteractionContinuation > InteractionRequest::getSelection() const
+rtl::Reference< InteractionContinuation >
+InteractionRequest::getSelection() const
{
return m_pImpl->m_xSelection;
}
//=========================================================================
void InteractionRequest::setSelection(
- const vos::ORef< InteractionContinuation > & rxSelection )
+ const rtl::Reference< InteractionContinuation > & rxSelection )
{
m_pImpl->m_xSelection = rxSelection;
}
diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
index b5b796e3aed6..315434406762 100644
--- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx
+++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: simpleauthenticationrequest.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: kso $ $Date: 2001-05-28 10:48:20 $
+ * last change: $Author: kso $ $Date: 2001-05-28 12:42:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -119,7 +119,7 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
uno::Reference< task::XInteractionContinuation > > aContinuations( 3 );
aContinuations[ 0 ] = new InteractionAbort( this );
aContinuations[ 1 ] = new InteractionRetry( this );
- aContinuations[ 2 ] = m_xAuthSupplier.getBodyPtr();
+ aContinuations[ 2 ] = m_xAuthSupplier.get();
setContinuations( aContinuations );
}
diff --git a/ucbhelper/source/provider/simpleinteractionrequest.cxx b/ucbhelper/source/provider/simpleinteractionrequest.cxx
index 0da785667075..016c31ff48a0 100644
--- a/ucbhelper/source/provider/simpleinteractionrequest.cxx
+++ b/ucbhelper/source/provider/simpleinteractionrequest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: simpleinteractionrequest.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: kso $ $Date: 2001-05-28 10:48:20 $
+ * last change: $Author: kso $ $Date: 2001-05-28 12:42:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -131,10 +131,10 @@ SimpleInteractionRequest::SimpleInteractionRequest(
//=========================================================================
const sal_Int32 SimpleInteractionRequest::getResponse() const
{
- vos::ORef< InteractionContinuation > xSelection = getSelection();
- if ( xSelection.isValid() )
+ rtl::Reference< InteractionContinuation > xSelection = getSelection();
+ if ( xSelection.is() )
{
- InteractionContinuation * pSelection = xSelection.getBodyPtr();
+ InteractionContinuation * pSelection = xSelection.get();
uno::Reference< task::XInteractionAbort > xAbort(
pSelection, uno::UNO_QUERY );