summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xusers.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xusers.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xusers.cxx42
1 files changed, 21 insertions, 21 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xusers.cxx b/connectivity/source/drivers/postgresql/pq_xusers.cxx
index b91ec7f7ac89..e92158e823d4 100644
--- a/connectivity/source/drivers/postgresql/pq_xusers.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xusers.cxx
@@ -63,7 +63,7 @@ namespace pq_sdbc_driver
{
Users::Users(
const ::rtl::Reference< RefCountedMutex > & refMutex,
- const ::com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > & origin,
+ const css::uno::Reference< css::sdbc::XConnection > & origin,
ConnectionSettings *pSettings )
: Container( refMutex, origin, pSettings, getStatics().USER )
{}
@@ -72,7 +72,7 @@ Users::~Users()
{}
void Users::refresh()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
try
{
@@ -93,7 +93,7 @@ void Users::refresh()
{
User * pUser =
new User( m_refMutex, m_origin, m_pSettings );
- Reference< com::sun::star::beans::XPropertySet > prop = pUser;
+ Reference< css::beans::XPropertySet > prop = pUser;
OUString name = xRow->getString( 1);
pUser->setPropertyValue_NoBroadcast_public(
@@ -107,7 +107,7 @@ void Users::refresh()
}
m_name2index.swap( map );
}
- catch ( com::sun::star::sdbc::SQLException & e )
+ catch ( css::sdbc::SQLException & e )
{
throw RuntimeException( e.Message , e.Context );
}
@@ -117,10 +117,10 @@ void Users::refresh()
void Users::appendByDescriptor(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor )
- throw (::com::sun::star::sdbc::SQLException,
- ::com::sun::star::container::ElementExistException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+ const css::uno::Reference< css::beans::XPropertySet >& descriptor )
+ throw (css::sdbc::SQLException,
+ css::container::ElementExistException,
+ css::uno::RuntimeException, std::exception)
{
osl::MutexGuard guard( m_refMutex->mutex );
@@ -136,9 +136,9 @@ void Users::appendByDescriptor(
}
void Users::dropByName( const OUString& elementName )
- throw (::com::sun::star::sdbc::SQLException,
- ::com::sun::star::container::NoSuchElementException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException,
+ css::container::NoSuchElementException,
+ css::uno::RuntimeException, std::exception)
{
String2IntMap::const_iterator ii = m_name2index.find( elementName );
if( ii == m_name2index.end() )
@@ -147,16 +147,16 @@ void Users::dropByName( const OUString& elementName )
buf.append( "User " );
buf.append( elementName );
buf.append( " is unknown, so it can't be dropped" );
- throw com::sun::star::container::NoSuchElementException(
+ throw css::container::NoSuchElementException(
buf.makeStringAndClear(), *this );
}
dropByIndex( ii->second );
}
void Users::dropByIndex( sal_Int32 index )
- throw (::com::sun::star::sdbc::SQLException,
- ::com::sun::star::lang::IndexOutOfBoundsException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException,
+ css::lang::IndexOutOfBoundsException,
+ css::uno::RuntimeException, std::exception)
{
osl::MutexGuard guard( m_refMutex->mutex );
@@ -168,7 +168,7 @@ void Users::dropByIndex( sal_Int32 index )
buf.append( ", got " );
buf.append( index );
buf.append( ")" );
- throw com::sun::star::lang::IndexOutOfBoundsException(
+ throw css::lang::IndexOutOfBoundsException(
buf.makeStringAndClear(), *this );
}
@@ -187,19 +187,19 @@ void Users::dropByIndex( sal_Int32 index )
}
-::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > Users::createDataDescriptor()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySet > Users::createDataDescriptor()
+ throw (css::uno::RuntimeException, std::exception)
{
return new UserDescriptor( m_refMutex, m_origin, m_pSettings );
}
-Reference< com::sun::star::container::XNameAccess > Users::create(
+Reference< css::container::XNameAccess > Users::create(
const ::rtl::Reference< RefCountedMutex > & refMutex,
- const ::com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > & origin,
+ const css::uno::Reference< css::sdbc::XConnection > & origin,
ConnectionSettings *pSettings )
{
Users *pUsers = new Users( refMutex, origin, pSettings );
- Reference< com::sun::star::container::XNameAccess > ret = pUsers;
+ Reference< css::container::XNameAccess > ret = pUsers;
pUsers->refresh();
return ret;