SwPanelFactory.cxx (b7d08b69) | SwPanelFactory.cxx (550fbbbd) |
---|---|
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 --- 103 unchanged lines hidden (view full) --- 112 if (pBindings == NULL) 113 throw RuntimeException( 114 A2S("PanelFactory::createUIElement called without SfxBindings"), 115 NULL); 116 117#define DoesResourceEndWith(s) rsResourceURL.endsWithAsciiL(s,strlen(s)) 118 if (DoesResourceEndWith("/PagePropertyPanel")) 119 { | 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 --- 103 unchanged lines hidden (view full) --- 112 if (pBindings == NULL) 113 throw RuntimeException( 114 A2S("PanelFactory::createUIElement called without SfxBindings"), 115 NULL); 116 117#define DoesResourceEndWith(s) rsResourceURL.endsWithAsciiL(s,strlen(s)) 118 if (DoesResourceEndWith("/PagePropertyPanel")) 119 { |
120 PagePropertyPanel* pPanel = PagePropertyPanel::Create( pParentWindow, pBindings ); | 120 PagePropertyPanel* pPanel = PagePropertyPanel::Create( pParentWindow, xFrame, pBindings ); |
121 xElement = sfx2::sidebar::SidebarPanelBase::Create( 122 rsResourceURL, 123 xFrame, 124 pPanel, 125 ui::LayoutSize(-1,-1,-1)); 126 } 127 else if (DoesResourceEndWith("/WrapPropertyPanel")) 128 { --- 24 unchanged lines hidden --- | 121 xElement = sfx2::sidebar::SidebarPanelBase::Create( 122 rsResourceURL, 123 xFrame, 124 pPanel, 125 ui::LayoutSize(-1,-1,-1)); 126 } 127 else if (DoesResourceEndWith("/WrapPropertyPanel")) 128 { --- 24 unchanged lines hidden --- |