partwnd.cxx (d119d52d) | partwnd.cxx (30acf5e8) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 82 unchanged lines hidden (view full) --- 91 // But don't do it, if xFrame already exist. Then dispose() must come from inside ... 92 // and we need a valid pMgr for further operations ... 93 94 SfxPartDockWnd_Impl* pWin = (SfxPartDockWnd_Impl*) pWindow; 95// if( pWin != NULL && !xFrame.is() ) 96// pWin->ReleaseChildWindow_Impl(); 97/* 98 // Release frame and window. | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 82 unchanged lines hidden (view full) --- 91 // But don't do it, if xFrame already exist. Then dispose() must come from inside ... 92 // and we need a valid pMgr for further operations ... 93 94 SfxPartDockWnd_Impl* pWin = (SfxPartDockWnd_Impl*) pWindow; 95// if( pWin != NULL && !xFrame.is() ) 96// pWin->ReleaseChildWindow_Impl(); 97/* 98 // Release frame and window. |
99 // If frame reference is valid here ... start dieing from inside by calling dispose(). | 99 // If frame reference is valid here ... start dying from inside by calling dispose(). |
100 SetFrame( NULL ); 101 pWindow = NULL; 102*/ 103 if ( pWin && xFrame == pWin->GetBindings().GetActiveFrame() ) 104 pWin->GetBindings().SetActiveFrame( NULL ); 105/* 106 if( xFrame.is() ) 107 { --- 146 unchanged lines hidden --- | 100 SetFrame( NULL ); 101 pWindow = NULL; 102*/ 103 if ( pWin && xFrame == pWin->GetBindings().GetActiveFrame() ) 104 pWin->GetBindings().SetActiveFrame( NULL ); 105/* 106 if( xFrame.is() ) 107 { --- 146 unchanged lines hidden --- |