Tag: cws_src680_odbmacros2
User: fs      
Date: 2007-12-22 13:35:55+0000
Modified:
   dba/dbaccess/source/ui/misc/controllerframe.cxx

Log:
 #i49133# just learned that the ActiveFrame attribute of a frames collection is 
maintained by the framework itself, no need to update it manually

File Changes:

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

File [changed]: controllerframe.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/controllerframe.cxx?r1=1.1.2.5&r2=1.1.2.6
Delta lines:  +2 -9
-------------------
--- controllerframe.cxx 2007-12-20 10:19:28+0000        1.1.2.5
+++ controllerframe.cxx 2007-12-22 13:35:53+0000        1.1.2.6
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: controllerframe.cxx,v $
  *
- *  $Revision: 1.1.2.5 $
+ *  $Revision: 1.1.2.6 $
  *
- *  last change: $Author: fs $ $Date: 2007/12/20 10:19:28 $
+ *  last change: $Author: fs $ $Date: 2007/12/22 13:35:53 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -96,7 +96,6 @@
               * the global working document (aka Basic's ThisComponent in the 
application
                 Basic), with our controller's model, or the controller itself 
if there is no such
                 model.
-              * the "active frame" attribute of the parent of the controller's 
frame
         */
         static void lcl_updateActiveComponents_nothrow( const 
ControllerFrame_Data& _rData )
         {
@@ -117,12 +116,6 @@
                     else
                         xCurrentComponent = xCompController;
                     SfxObjectShell::SetCurrentComponent( xCurrentComponent );
-
-                    // notify the parent of the controller's frame that there 
is a new active
-                    // frame
-                    Reference< XFrame > xCompFrame( 
xCompController->getFrame(), UNO_SET_THROW );
-                    Reference< XFramesSupplier > xFrames( 
xCompFrame->getCreator(), UNO_QUERY_THROW );
-                    xFrames->setActiveFrame( xCompFrame );
                 }
             }
             catch( const Exception& )




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

Reply via email to