User: hr      
Date: 06/06/19 19:10:26

Modified:
 /dba/connectivity/source/sdbcx/
  VGroup.cxx

Log:
 INTEGRATION: CWS warnings01 (1.11.30); FILE MERGED
 2005/11/16 12:59:32 fs 1.11.30.1: #i57457# warning free code

File Changes:

Directory: /dba/connectivity/source/sdbcx/
==========================================

File [changed]: VGroup.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/sdbcx/VGroup.cxx?r1=1.11&r2=1.12
Delta lines:  +15 -13
---------------------
--- VGroup.cxx  8 Sep 2005 07:43:26 -0000       1.11
+++ VGroup.cxx  20 Jun 2006 02:10:24 -0000      1.12
@@ -51,11 +51,14 @@
 #ifndef _COMPHELPER_SEQUENCE_HXX_
 #include <comphelper/sequence.hxx>
 #endif
-
+#ifndef _DBHELPER_DBEXCEPTION_HXX_
+#include <connectivity/dbexception.hxx>
+#endif
 
 // -------------------------------------------------------------------------
-using namespace connectivity::sdbcx;
-using namespace connectivity;
+using namespace ::connectivity::sdbcx;
+using namespace ::connectivity;
+using namespace ::dbtools;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::container;
@@ -139,36 +142,34 @@
 }
 // -------------------------------------------------------------------------
 
-sal_Int32 SAL_CALL OGroup::getPrivileges( const ::rtl::OUString& objName, 
sal_Int32 objType ) throw(::com::sun::star::sdbc::SQLException, 
RuntimeException)
+sal_Int32 SAL_CALL OGroup::getPrivileges( const ::rtl::OUString& /*objName*/, 
sal_Int32 /*objType*/ ) throw(::com::sun::star::sdbc::SQLException, 
RuntimeException)
 {
        ::osl::MutexGuard aGuard(m_aMutex);
        checkDisposed(OGroup_BASE::rBHelper.bDisposed);
                 
-
        return 0;
 }
 // -------------------------------------------------------------------------
-sal_Int32 SAL_CALL OGroup::getGrantablePrivileges( const ::rtl::OUString& 
objName, sal_Int32 objType ) throw(::com::sun::star::sdbc::SQLException, 
RuntimeException)
+sal_Int32 SAL_CALL OGroup::getGrantablePrivileges( const ::rtl::OUString& 
/*objName*/, sal_Int32 /*objType*/ ) 
throw(::com::sun::star::sdbc::SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard(m_aMutex);
        checkDisposed(OGroup_BASE::rBHelper.bDisposed);
                 
-
        return 0;
 }
 // -------------------------------------------------------------------------
-void SAL_CALL OGroup::grantPrivileges( const ::rtl::OUString& objName, 
sal_Int32 objType, sal_Int32 objPrivileges ) 
throw(::com::sun::star::sdbc::SQLException, RuntimeException)
+void SAL_CALL OGroup::grantPrivileges( const ::rtl::OUString& /*objName*/, 
sal_Int32 /*objType*/, sal_Int32 /*objPrivileges*/ ) 
throw(::com::sun::star::sdbc::SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard(m_aMutex);
        checkDisposed(OGroup_BASE::rBHelper.bDisposed);
-                
+    throwFeatureNotImplementedException( "XAuthorizable::grantPrivileges", 
*this );
 }
 // -------------------------------------------------------------------------
-void SAL_CALL OGroup::revokePrivileges( const ::rtl::OUString& objName, 
sal_Int32 objType, sal_Int32 objPrivileges ) 
throw(::com::sun::star::sdbc::SQLException, RuntimeException)
+void SAL_CALL OGroup::revokePrivileges( const ::rtl::OUString& /*objName*/, 
sal_Int32 /*objType*/, sal_Int32 /*objPrivileges*/ ) 
throw(::com::sun::star::sdbc::SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard(m_aMutex);
        checkDisposed(OGroup_BASE::rBHelper.bDisposed);
-                
+    throwFeatureNotImplementedException( "XAuthorizable::revokePrivileges", 
*this );
 }
 // 
-----------------------------------------------------------------------------
 ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > 
SAL_CALL OGroup::getPropertySetInfo(  ) 
throw(::com::sun::star::uno::RuntimeException)
@@ -181,8 +182,9 @@
        return m_Name;
 }
 // 
-----------------------------------------------------------------------------
-void SAL_CALL OGroup::setName( const ::rtl::OUString& aName ) 
throw(::com::sun::star::uno::RuntimeException)
+void SAL_CALL OGroup::setName( const ::rtl::OUString& /*aName*/ ) 
throw(::com::sun::star::uno::RuntimeException)
 {
+    throwFeatureNotImplementedException( "XNamed::setName", *this );
 }
 // 
-----------------------------------------------------------------------------
 // XInterface




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to