Tag: cws_src680_dba201d
User: fs      
Date: 05/10/05 06:20:08

Modified:
 /dba/dbaccess/source/ui/app/
  AppController.cxx

Log:
 small correction to previous changes for #i55493#

File Changes:

Directory: /dba/dbaccess/source/ui/app/
=======================================

File [changed]: AppController.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.22.2.1&r2=1.22.2.2
Delta lines:  +4 -6
-------------------
--- AppController.cxx   5 Oct 2005 10:22:11 -0000       1.22.2.1
+++ AppController.cxx   5 Oct 2005 13:20:04 -0000       1.22.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: AppController.cxx,v $
  *
- *  $Revision: 1.22.2.1 $
+ *  $Revision: 1.22.2.2 $
  *
- *  last change: $Author: fs $ $Date: 2005/10/05 10:22:11 $
+ *  last change: $Author: fs $ $Date: 2005/10/05 13:20:04 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1429,7 +1429,6 @@
                {
                        ::rtl::OUString sName;
                        _rEvent.Accessor >>= sName;
-                       Reference<XConnection> xConnection;
                        ElementType eType = getElementType(xContainer);
 
                        switch( eType )
@@ -1446,7 +1445,7 @@
                                        }
                                        break;
                        }
-                       
getContainer()->elementAdded(eType,sName,_rEvent.Element,xConnection);
+                       
getContainer()->elementAdded(eType,sName,_rEvent.Element,getConnection());
                }
        }
 }
@@ -1462,7 +1461,6 @@
                OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
                ::rtl::OUString sName;
                _rEvent.Accessor >>= sName;
-               Reference<XConnection> xConnection;
                ElementType eType = getElementType(xContainer);
                switch( eType )
                {
@@ -1480,7 +1478,7 @@
                                }
                                break;
                }
-               getContainer()->elementRemoved(eType,sName,xConnection);
+               getContainer()->elementRemoved(eType,sName,getConnection());
        }
 }
 // 
-----------------------------------------------------------------------------




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

Reply via email to