svdlayer.cxx (f6e50924) | svdlayer.cxx (027cdf4a) |
---|---|
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 --- 224 unchanged lines hidden (view full) --- 233// SdrLayerAdmin 234//////////////////////////////////////////////////////////////////////////////////////////////////// 235 236SdrLayerAdmin::SdrLayerAdmin(SdrLayerAdmin* pNewParent): 237 aLayer(1024,16,16), 238 aLSets(1024,16,16), 239 pModel(NULL) 240{ | 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 --- 224 unchanged lines hidden (view full) --- 233// SdrLayerAdmin 234//////////////////////////////////////////////////////////////////////////////////////////////////// 235 236SdrLayerAdmin::SdrLayerAdmin(SdrLayerAdmin* pNewParent): 237 aLayer(1024,16,16), 238 aLSets(1024,16,16), 239 pModel(NULL) 240{ |
241 sal_Char aTextControls[] = "Controls"; 242 aControlLayerName = String(aTextControls, sizeof(aTextControls-1)); | 241 const sal_Char aTextControls[] = "Controls"; 242 aControlLayerName = String(aTextControls, sizeof(aTextControls)-1); |
243 pParent=pNewParent; 244} 245 246SdrLayerAdmin::SdrLayerAdmin(const SdrLayerAdmin& rSrcLayerAdmin): 247 aLayer(1024,16,16), 248 aLSets(1024,16,16), 249 pParent(NULL), 250 pModel(NULL) 251{ | 243 pParent=pNewParent; 244} 245 246SdrLayerAdmin::SdrLayerAdmin(const SdrLayerAdmin& rSrcLayerAdmin): 247 aLayer(1024,16,16), 248 aLSets(1024,16,16), 249 pParent(NULL), 250 pModel(NULL) 251{ |
252 sal_Char aTextControls[] = "Controls"; 253 aControlLayerName = String(aTextControls, sizeof(aTextControls-1)); | 252 const sal_Char aTextControls[] = "Controls"; 253 aControlLayerName = String(aTextControls, sizeof(aTextControls)-1); |
254 *this = rSrcLayerAdmin; 255} 256 257SdrLayerAdmin::~SdrLayerAdmin() 258{ 259 ClearLayer(); 260} 261 --- 193 unchanged lines hidden --- | 254 *this = rSrcLayerAdmin; 255} 256 257SdrLayerAdmin::~SdrLayerAdmin() 258{ 259 ClearLayer(); 260} 261 --- 193 unchanged lines hidden --- |