SidebarFactory.cxx (02c50d82) | SidebarFactory.cxx (a5761a6e) |
---|---|
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 --- 191 unchanged lines hidden (view full) --- 200 Reference<ui::XUIElement> xUIElement; 201 try 202 { 203 xUIElement.set( 204 sfx2::sidebar::SidebarPanelBase::Create( 205 rsUIElementResourceURL, 206 xFrame, 207 pControl, | 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 --- 191 unchanged lines hidden (view full) --- 200 Reference<ui::XUIElement> xUIElement; 201 try 202 { 203 xUIElement.set( 204 sfx2::sidebar::SidebarPanelBase::Create( 205 rsUIElementResourceURL, 206 xFrame, 207 pControl, |
208 ::boost::function<void(void)>(), | |
209 ui::LayoutSize(-1,-1,-1))); 210 } 211 catch(Exception& rException) 212 { 213 // Creation of XUIElement failed. mxUIElement remains empty. 214 } 215 216 Reference<lang::XComponent> xComponent (xUIElement, UNO_QUERY); --- 25 unchanged lines hidden --- | 208 ui::LayoutSize(-1,-1,-1))); 209 } 210 catch(Exception& rException) 211 { 212 // Creation of XUIElement failed. mxUIElement remains empty. 213 } 214 215 Reference<lang::XComponent> xComponent (xUIElement, UNO_QUERY); --- 25 unchanged lines hidden --- |