Tag: cws_src680_oj14 User: oj Date: 06/01/03 05:24:33 Modified: /dba/dbaccess/source/ui/misc/ querydesignaccess.cxx
Log: RESYNC: (1.18-1.19); FILE MERGED 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.8.1&r2=1.18.8.2 Delta lines: +14 -6 -------------------- --- querydesignaccess.cxx 3 Jan 2006 07:49:21 -0000 1.18.8.1 +++ querydesignaccess.cxx 3 Jan 2006 13:24:30 -0000 1.18.8.2 @@ -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]
