diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /connectivity/source/drivers/postgresql/pq_xuser.cxx | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xuser.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xuser.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xuser.cxx b/connectivity/source/drivers/postgresql/pq_xuser.cxx index b96450a7bd94..3eed58192137 100644 --- a/connectivity/source/drivers/postgresql/pq_xuser.cxx +++ b/connectivity/source/drivers/postgresql/pq_xuser.cxx @@ -163,11 +163,11 @@ Any User::queryInterface( const Type & reqType ) throw (RuntimeException) void User::changePassword( - const ::rtl::OUString& oldPassword, const ::rtl::OUString& newPassword ) + const OUString& oldPassword, const OUString& newPassword ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { (void) oldPassword; - rtl::OUStringBuffer buf(128); + OUStringBuffer buf(128); buf.append( "ALTER USER " ); bufferQuoteIdentifier( buf, extractStringProperty( this, getStatics().NAME ), m_pSettings ); buf.append( " PASSWORD " ); @@ -177,7 +177,7 @@ void User::changePassword( stmt->executeUpdate( buf.makeStringAndClear() ); } -sal_Int32 User::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType ) +sal_Int32 User::getPrivileges( const OUString& objName, sal_Int32 objType ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { sal_Int32 ret = 0xffffffff; @@ -185,7 +185,7 @@ sal_Int32 User::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType { Statics & st = getStatics(); - rtl::OUStringBuffer buf( 128 ); + OUStringBuffer buf( 128 ); buf.append( "User::getPrivileges[" + extractStringProperty( this, st.NAME ) + "] got called for " + objName + "(type=" + OUString::number(objType) + ")"); @@ -195,7 +195,7 @@ sal_Int32 User::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType return ret; } -sal_Int32 User::getGrantablePrivileges( const ::rtl::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) { (void) objName; (void) objType; @@ -203,7 +203,7 @@ sal_Int32 User::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int3 return 0xffffffff; } -void User::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) +void User::grantPrivileges( const OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { (void) objName; (void) objType; (void) objPrivileges; @@ -211,7 +211,7 @@ void User::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, s *this, OUString(), 1, Any() ); } -void User::revokePrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) +void User::revokePrivileges( const OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { (void) objName; (void) objType; (void) objPrivileges; |