User: kz Date: 05/11/03 03:56:27 Modified: /dba/dbaccess/source/ui/misc/ querydesignaccess.cxx
Log: INTEGRATION: CWS fwk23 (1.17.106); FILE MERGED 2005/10/18 06:17:18 abi 1.17.106.2: RESYNC: (1.17-1.18); FILE MERGED 2005/10/12 05:53:42 as 1.17.106.1: #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.18&r2=1.19 Delta lines: +11 -3 -------------------- --- querydesignaccess.cxx 8 Sep 2005 16:16:28 -0000 1.18 +++ querydesignaccess.cxx 3 Nov 2005 11:56:24 -0000 1.19 @@ -144,12 +144,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]
