shapesubset.cxx (70f497fb) | shapesubset.cxx (0ca1f900) |
---|---|
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 --- 96 unchanged lines hidden (view full) --- 105 if( !mpSubsetShape && 106 !maTreeNode.isEmpty() ) 107 { 108 mpSubsetShape = mpShapeManager->getSubsetShape( 109 mpOriginalShape, 110 maTreeNode ); 111 } 112 | 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 --- 96 unchanged lines hidden (view full) --- 105 if( !mpSubsetShape && 106 !maTreeNode.isEmpty() ) 107 { 108 mpSubsetShape = mpShapeManager->getSubsetShape( 109 mpOriginalShape, 110 maTreeNode ); 111 } 112 |
113 return mpSubsetShape; | 113 return (mpSubsetShape.get() != NULL); |
114 } 115 116 void ShapeSubset::disableSubsetShape() 117 { 118 if( mpSubsetShape ) 119 { 120 mpShapeManager->revokeSubset( mpOriginalShape, 121 mpSubsetShape ); --- 16 unchanged lines hidden --- | 114 } 115 116 void ShapeSubset::disableSubsetShape() 117 { 118 if( mpSubsetShape ) 119 { 120 mpShapeManager->revokeSubset( mpOriginalShape, 121 mpSubsetShape ); --- 16 unchanged lines hidden --- |