Tag: cws_src680_fwk23 User: as Date: 05/10/11 22:53:45 Modified: /dba/dbaccess/source/ui/misc/ querydesignaccess.cxx
Log: #124984# dont remove frame from the global desktop tree File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: querydesignaccess.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/querydesignaccess.cxx?r1=1.17&r2=1.17.106.1 Delta lines: +14 -6 -------------------- --- querydesignaccess.cxx 2 Aug 2004 16:11:22 -0000 1.17 +++ querydesignaccess.cxx 12 Oct 2005 05:53:42 -0000 1.17.106.1 @@ -2,9 +2,9 @@ * * $RCSfile: querydesignaccess.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.17.106.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 16:11:22 $ + * last change: $Author: as $ $Date: 2005/10/12 05:53:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -170,12 +170,20 @@ { // create a new frame and remove it from the desktop, so we care for it Reference<XFrame> xFrame = Reference<XFrame>(m_xFrameLoader,UNO_QUERY)->findFrame(sTarget,nFrameSearchFlag); + /* + ... no ... dont remove the frame from the desktop tree. + Otherwhise it can happen that sometimes no active frame will be defined + and some funstions behind the menu of this frame cant work. + + see #124984# for further informations + Reference<XFramesSupplier> xSup(m_xFrameLoader,UNO_QUERY); if ( xSup.is() ) { Reference<XFrames> xFrames = xSup->getFrames(); xFrames->remove(xFrame); } + */ Reference<XComponentLoader> xFrameLoad(xFrame,UNO_QUERY); if ( xFrameLoad.is() ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
