summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xuser.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-11-29 17:18:30 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-11-29 17:32:29 +0000
commit4cc501d8173373e9656ae5e568b43e3cb90587e7 (patch)
tree1e45eb979498f83543bd9bcc8efa1a256c5888d2 /connectivity/source/drivers/postgresql/pq_xuser.cxx
parentdd750cf42b308cdbf48ebd54fdd6f4fa0865b91a (diff)
WaE: sizeable postgresql warning cleanup
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xuser.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xuser.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xuser.cxx b/connectivity/source/drivers/postgresql/pq_xuser.cxx
index 0164c3b5d4de..39da4402e14a 100644
--- a/connectivity/source/drivers/postgresql/pq_xuser.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xuser.cxx
@@ -171,6 +171,7 @@ void User::changePassword(
const ::rtl::OUString& oldPassword, const ::rtl::OUString& newPassword )
throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException)
{
+ (void) oldPassword;
rtl::OUStringBuffer buf(128);
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ALTER USER " ) );
bufferQuoteIdentifier( buf, extractStringProperty( this, getStatics().NAME ), m_pSettings );
@@ -207,6 +208,7 @@ sal_Int32 User::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType
sal_Int32 User::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int32 objType )
throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException)
{
+ (void) objName; (void) objType;
// all privileges
return 0xffffffff;
}
@@ -214,6 +216,7 @@ sal_Int32 User::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int3
void User::grantPrivileges( const ::rtl::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;
throw com::sun::star::sdbc::SQLException(
ASCII_STR( "pq_driver: privilege change not implemented yet" ),
*this, OUString(), 1, Any() );
@@ -222,6 +225,7 @@ void User::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, s
void User::revokePrivileges( const ::rtl::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;
throw com::sun::star::sdbc::SQLException(
ASCII_STR( "pq_driver: privilege change not implemented yet" ),
*this, OUString(), 1, Any() );