summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xuser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xuser.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xuser.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xuser.cxx b/connectivity/source/drivers/postgresql/pq_xuser.cxx
index 7b91d43217c3..ca0b7433b17f 100644
--- a/connectivity/source/drivers/postgresql/pq_xuser.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xuser.cxx
@@ -63,7 +63,7 @@ namespace pq_sdbc_driver
{
User::User( const ::rtl::Reference< RefCountedMutex > & refMutex,
- const Reference< com::sun::star::sdbc::XConnection > & connection,
+ const Reference< css::sdbc::XConnection > & connection,
ConnectionSettings *pSettings )
: ReflectionBase(
getStatics().refl.user.implName,
@@ -92,7 +92,7 @@ Sequence<Type > User::getTypes() throw( RuntimeException, std::exception )
if( !pCollection )
{
static cppu::OTypeCollection collection(
- cppu::UnoType<com::sun::star::sdbcx::XUser>::get(),
+ cppu::UnoType<css::sdbcx::XUser>::get(),
ReflectionBase::getTypes());
pCollection = &collection;
}
@@ -113,14 +113,14 @@ Any User::queryInterface( const Type & reqType ) throw (RuntimeException, std::e
if( ! ret.hasValue() )
ret = ::cppu::queryInterface(
reqType,
- static_cast< com::sun::star::sdbcx::XUser * > ( this ) );
+ static_cast< css::sdbcx::XUser * > ( this ) );
return ret;
}
void User::changePassword(
const OUString& oldPassword, const OUString& newPassword )
- throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception)
{
(void) oldPassword;
OUStringBuffer buf(128);
@@ -134,7 +134,7 @@ void User::changePassword(
}
sal_Int32 User::getPrivileges( const OUString& objName, sal_Int32 objType )
- throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception)
{
sal_Int32 ret = 0xffffffff;
if( isLog( m_pSettings, LogLevel::INFO ) )
@@ -152,7 +152,7 @@ sal_Int32 User::getPrivileges( const OUString& objName, sal_Int32 objType )
}
sal_Int32 User::getGrantablePrivileges( const OUString& objName, sal_Int32 objType )
- throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception)
{
(void) objName; (void) objType;
// all privileges
@@ -160,25 +160,25 @@ sal_Int32 User::getGrantablePrivileges( const OUString& objName, sal_Int32 objTy
}
void User::grantPrivileges( const OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges )
- throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception)
{
(void) objName; (void) objType; (void) objPrivileges;
- throw com::sun::star::sdbc::SQLException("pq_driver: privilege change not implemented yet",
+ throw css::sdbc::SQLException("pq_driver: privilege change not implemented yet",
*this, OUString(), 1, Any() );
}
void User::revokePrivileges( const OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges )
- throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception)
{
(void) objName; (void) objType; (void) objPrivileges;
- throw com::sun::star::sdbc::SQLException("pq_driver: privilege change not implemented yet",
+ throw css::sdbc::SQLException("pq_driver: privilege change not implemented yet",
*this, OUString(), 1, Any() );
}
UserDescriptor::UserDescriptor(
const ::rtl::Reference< RefCountedMutex > & refMutex,
- const Reference< com::sun::star::sdbc::XConnection > & connection,
+ const Reference< css::sdbc::XConnection > & connection,
ConnectionSettings *pSettings )
: ReflectionBase(
getStatics().refl.userDescriptor.implName,