shapeattributelayerholder.hxx (aaef562f) shapeattributelayerholder.hxx (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

--- 73 unchanged lines hidden (view full) ---

82 {
83 reset();
84
85 mpShape = rShape;
86
87 if( mpShape )
88 mpAttributeLayer = mpShape->createAttributeLayer();
89
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

--- 73 unchanged lines hidden (view full) ---

82 {
83 reset();
84
85 mpShape = rShape;
86
87 if( mpShape )
88 mpAttributeLayer = mpShape->createAttributeLayer();
89
90 return mpAttributeLayer;
90 return (mpAttributeLayer.get() != NULL);
91 }
92
93 ShapeAttributeLayerSharedPtr get() const
94 {
95 return mpAttributeLayer;
96 }
97
98 private:
99 AttributableShapeSharedPtr mpShape;
100 ShapeAttributeLayerSharedPtr mpAttributeLayer;
101 };
102
103 }
104}
105
106#endif /* INCLUDED_SLIDESHOW_SHAPEATTRIBUTELAYERHOLDER_HXX */
91 }
92
93 ShapeAttributeLayerSharedPtr get() const
94 {
95 return mpAttributeLayer;
96 }
97
98 private:
99 AttributableShapeSharedPtr mpShape;
100 ShapeAttributeLayerSharedPtr mpAttributeLayer;
101 };
102
103 }
104}
105
106#endif /* INCLUDED_SLIDESHOW_SHAPEATTRIBUTELAYERHOLDER_HXX */