frame.cxx (d119d52d) | frame.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 --- 835 unchanged lines hidden (view full) --- 844} 845 846void SfxFrame::CreateWorkWindow_Impl() 847{ 848 SfxFrame* pFrame = this; 849 850 if ( IsInPlace() ) 851 { | 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 --- 835 unchanged lines hidden (view full) --- 844} 845 846void SfxFrame::CreateWorkWindow_Impl() 847{ 848 SfxFrame* pFrame = this; 849 850 if ( IsInPlace() ) 851 { |
852 // this makes sence only for inplace activated objects | 852 // this makes sense only for inplace activated objects |
853 try 854 { 855 Reference < XChild > xChild( GetCurrentDocument()->GetModel(), UNO_QUERY ); 856 if ( xChild.is() ) 857 { 858 Reference < XModel > xParent( xChild->getParent(), UNO_QUERY ); 859 if ( xParent.is() ) 860 { --- 130 unchanged lines hidden --- | 853 try 854 { 855 Reference < XChild > xChild( GetCurrentDocument()->GetModel(), UNO_QUERY ); 856 if ( xChild.is() ) 857 { 858 Reference < XModel > xParent( xChild->getParent(), UNO_QUERY ); 859 if ( xParent.is() ) 860 { --- 130 unchanged lines hidden --- |