User: hr      
Date: 06/06/19 19:45:25

Modified:
 /dba/dbaccess/source/core/dataaccess/
  documentdefinition.cxx

Log:
 INTEGRATION: CWS warnings01 (1.34.22); FILE MERGED
 2006/04/07 20:47:47 sb 1.34.22.2: RESYNC: (1.34-1.35); FILE MERGED
 2006/03/24 15:35:53 fs 1.34.22.1: #i57457# warning-free code (unxlngi6/.pro + 
unxsoli4.pro)

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: documentdefinition.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentdefinition.cxx?r1=1.35&r2=1.36
Delta lines:  +12 -19
---------------------
--- documentdefinition.cxx      7 Feb 2006 10:19:11 -0000       1.35
+++ documentdefinition.cxx      20 Jun 2006 02:45:23 -0000      1.36
@@ -295,7 +295,7 @@
                m_pDefinition = NULL;
        }
        //------------------------------------------------------------------
-       void SAL_CALL OEmbedObjectHolder::changingState( const 
::com::sun::star::lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 
nNewState ) throw (::com::sun::star::embed::WrongStateException, 
::com::sun::star::uno::RuntimeException)
+       void SAL_CALL OEmbedObjectHolder::changingState( const 
::com::sun::star::lang::EventObject& /*aEvent*/, ::sal_Int32 /*nOldState*/, 
::sal_Int32 /*nNewState*/ ) throw 
(::com::sun::star::embed::WrongStateException, 
::com::sun::star::uno::RuntimeException)
        {
        }
        //------------------------------------------------------------------
@@ -314,7 +314,7 @@
                }
        }
        //------------------------------------------------------------------
-       void SAL_CALL OEmbedObjectHolder::disposing( const 
::com::sun::star::lang::EventObject& Source ) throw 
(::com::sun::star::uno::RuntimeException)
+       void SAL_CALL OEmbedObjectHolder::disposing( const 
::com::sun::star::lang::EventObject& /*Source*/ ) throw 
(::com::sun::star::uno::RuntimeException)
        {
                m_xBroadCaster = NULL;
        }
@@ -333,7 +333,7 @@
                virtual void SAL_CALL saveObject(  ) throw 
(ObjectSaveVetoException, Exception, RuntimeException)
                {
                }
-               virtual void SAL_CALL onShowWindow( sal_Bool bVisible ) throw 
(RuntimeException)
+               virtual void SAL_CALL onShowWindow( sal_Bool /*bVisible*/ ) 
throw (RuntimeException)
                {
                }
                // XComponentSupplier
@@ -343,7 +343,7 @@
                }
 
                // XEmbeddedClient
-               virtual void SAL_CALL visibilityChanged( ::sal_Bool bVisible ) 
throw (WrongStateException, RuntimeException)
+               virtual void SAL_CALL visibilityChanged( ::sal_Bool 
/*bVisible*/ ) throw (WrongStateException, RuntimeException)
                {
                }
                inline void resetClient(ODocumentDefinition* _pClient) { 
m_pClient = _pClient; }
@@ -394,7 +394,7 @@
     };
 
     //------------------------------------------------------------------
-    void SAL_CALL LifetimeCoupler::disposing( const css::lang::EventObject& 
Source ) throw (RuntimeException)
+    void SAL_CALL LifetimeCoupler::disposing( const css::lang::EventObject& 
/*Source*/ ) throw (RuntimeException)
     {
         m_xClient.clear();
     }
@@ -517,10 +517,10 @@
                                                                                
 :OContentHelper(_xORB,_rxContainer,_pImpl)
        ,OPropertyStateContainer(m_aBHelper)
        ,m_pInterceptor(NULL)
-       ,m_pClientHelper(NULL)
        ,m_bForm(_bForm)
        ,m_bOpenInDesign(sal_False)
     ,m_bInExecute(sal_False)
+       ,m_pClientHelper(NULL)
 {
        DBG_CTOR(ODocumentDefinition, NULL);
        registerProperties();
@@ -632,9 +632,9 @@
             _rMode = aOpenCommand.Mode;
         else
         {
-                   OpenCommandArgument2 aOpenCommand;
-            if ( _rValue >>= aOpenCommand )
-                _rMode = aOpenCommand.Mode;
+                   OpenCommandArgument2 aOpenCommand2;
+            if ( _rValue >>= aOpenCommand2 )
+                _rMode = aOpenCommand2.Mode;
             else
                 return false;
         }
@@ -818,16 +818,9 @@
         Reference< XModifiable > xModifiable( _rxController->getModel(), 
UNO_QUERY_THROW );
         xModifiable->setModified( sal_False );
     }
-    catch( const Exception& e )
+    catch( const Exception& )
     {
-    #if OSL_DEBUG_LEVEL > 0
-       ::rtl::OString sMessage( "ODocumentDefinition::impl_initObjectEditView: 
caught an exception!\n" );
-       sMessage += "message:\n";
-       sMessage += ::rtl::OString( e.Message.getStr(), e.Message.getLength(), 
osl_getThreadTextEncoding() );
-       OSL_ENSURE( false, sMessage );
-    #else
-       e; // make compiler happy
-    #endif
+        DBG_UNHANDLED_EXCEPTION();
     }
 }
 
@@ -1381,7 +1374,7 @@
        }
 }
 // 
-----------------------------------------------------------------------------
-Any ODocumentDefinition::getPropertyDefaultByHandle( sal_Int32 _nHandle ) const
+Any ODocumentDefinition::getPropertyDefaultByHandle( sal_Int32 /*_nHandle*/ ) 
const
 {
        return Any();
 }




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

Reply via email to