summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-06-05 17:29:06 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-06-05 17:29:06 +0000
commitf3ce91235041c9c4b3f40f874c44a03203e497f6 (patch)
tree9901e0345d57b8ec4352d8c4f2e4276c64684c27 /xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
parentc045dde562abb0bd6fd387dead3bd9d806ac2b23 (diff)
INTEGRATION: CWS bgdlremove (1.7.26); FILE MERGED
2007/05/18 11:40:45 kso 1.7.26.1: #i77419# - cleanup of ucbhelper namespaces.
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/resultsetbase.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx27
1 files changed, 13 insertions, 14 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index e8fa642f969f..a5f2102cbb5a 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: resultsetbase.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 01:17:41 $
+ * last change: $Author: ihi $ $Date: 2007-06-05 18:29:06 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -63,14 +63,12 @@
using namespace chelp;
using namespace com::sun::star;
-using namespace com::sun::star::ucb;
-
ResultSetBase::ResultSetBase( const uno::Reference< lang::XMultiServiceFactory >& xMSF,
- const uno::Reference< XContentProvider >& xProvider,
+ const uno::Reference< ucb::XContentProvider >& xProvider,
sal_Int32 nOpenMode,
const uno::Sequence< beans::Property >& seq,
- const uno::Sequence< NumberedSortingInfo >& seqSort )
+ const uno::Sequence< ucb::NumberedSortingInfo >& seqSort )
: m_xMSF( xMSF ),
m_xProvider( xProvider ),
m_nRow( -1 ),
@@ -125,7 +123,7 @@ ResultSetBase::queryInterface(
SAL_STATIC_CAST( sdbc::XResultSet*, this),
SAL_STATIC_CAST( sdbc::XResultSetMetaDataSupplier*, this),
SAL_STATIC_CAST( beans::XPropertySet*, this ),
- SAL_STATIC_CAST( XContentAccess*, this) );
+ SAL_STATIC_CAST( ucb::XContentAccess*, this) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -429,7 +427,7 @@ ResultSetBase::queryContentIdentifierString(
}
-uno::Reference< XContentIdentifier > SAL_CALL
+uno::Reference< ucb::XContentIdentifier > SAL_CALL
ResultSetBase::queryContentIdentifier(
void )
throw( uno::RuntimeException )
@@ -438,15 +436,16 @@ ResultSetBase::queryContentIdentifier(
{
rtl::OUString url = queryContentIdentifierString();
if( ! m_aIdents[m_nRow].is() && url.getLength() )
- m_aIdents[m_nRow] = uno::Reference< XContentIdentifier >( new ::ucb::ContentIdentifier( m_xMSF,url ) );
+ m_aIdents[m_nRow] = uno::Reference< ucb::XContentIdentifier >(
+ new ::ucbhelper::ContentIdentifier( m_xMSF,url ) );
return m_aIdents[m_nRow];
}
- return uno::Reference< XContentIdentifier >();
+ return uno::Reference< ucb::XContentIdentifier >();
}
-uno::Reference< XContent > SAL_CALL
+uno::Reference< ucb::XContent > SAL_CALL
ResultSetBase::queryContent(
void )
throw( uno::RuntimeException )
@@ -454,7 +453,7 @@ ResultSetBase::queryContent(
if( 0 <= m_nRow && sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() )
return m_xProvider->queryContent( queryContentIdentifier() );
else
- return uno::Reference< XContent >();
+ return uno::Reference< ucb::XContent >();
}
@@ -672,8 +671,8 @@ ResultSetBase::getMetaData(
throw( sdbc::SQLException,
uno::RuntimeException )
{
- ::ucb::ResultSetMetaData* p =
- new ::ucb::ResultSetMetaData(
+ ::ucbhelper::ResultSetMetaData* p =
+ new ::ucbhelper::ResultSetMetaData(
m_xMSF, m_sProperty );
return uno::Reference< sdbc::XResultSetMetaData >( p );
}