viewcontactofsdrpage.cxx (f6e50924) | viewcontactofsdrpage.cxx (6de8cae6) |
---|---|
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 --- 151 unchanged lines hidden (view full) --- 160 new drawinglayer::primitive2d::PolyPolygonColorPrimitive2D( 161 basegfx::B2DPolyPolygon(aPageShadowPolygon), 162 aRGBShadowColor)); 163 164 return drawinglayer::primitive2d::Primitive2DSequence(&xReference, 1); 165 } 166 else 167 { | 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 --- 151 unchanged lines hidden (view full) --- 160 new drawinglayer::primitive2d::PolyPolygonColorPrimitive2D( 161 basegfx::B2DPolyPolygon(aPageShadowPolygon), 162 aRGBShadowColor)); 163 164 return drawinglayer::primitive2d::Primitive2DSequence(&xReference, 1); 165 } 166 else 167 { |
168 static vcl::DeleteOnDeinit<drawinglayer::primitive2d::DiscreteShadow> 169 aDiscreteShadow(new drawinglayer::primitive2d::DiscreteShadow( 170 BitmapEx(ResId(SIP_SA_PAGESHADOW35X35, *ImpGetResMgr())))); 171 if (aDiscreteShadow.get() != NULL) | 168 static vcl::DeleteOnDeinit< drawinglayer::primitive2d::DiscreteShadow > aDiscreteShadow( 169 new drawinglayer::primitive2d::DiscreteShadow( 170 BitmapEx( 171 ResId( 172 SIP_SA_PAGESHADOW35X35, 173 *ImpGetResMgr())))); 174 175 if(aDiscreteShadow.get()) |
172 { 173 const drawinglayer::primitive2d::Primitive2DReference xReference( 174 new drawinglayer::primitive2d::DiscreteShadowPrimitive2D( 175 aPageMatrix, | 176 { 177 const drawinglayer::primitive2d::Primitive2DReference xReference( 178 new drawinglayer::primitive2d::DiscreteShadowPrimitive2D( 179 aPageMatrix, |
176 *aDiscreteShadow.get())); 177 | 180 *aDiscreteShadow.get())); 181 |
178 return drawinglayer::primitive2d::Primitive2DSequence(&xReference, 1); 179 } | 182 return drawinglayer::primitive2d::Primitive2DSequence(&xReference, 1); 183 } |
184 |
|
180 return drawinglayer::primitive2d::Primitive2DSequence(); 181 } 182 } 183 184 ViewContactOfPageShadow::ViewContactOfPageShadow(ViewContactOfSdrPage& rParentViewContactOfSdrPage) 185 : ViewContactOfPageSubObject(rParentViewContactOfSdrPage) 186 { 187 } --- 535 unchanged lines hidden --- | 185 return drawinglayer::primitive2d::Primitive2DSequence(); 186 } 187 } 188 189 ViewContactOfPageShadow::ViewContactOfPageShadow(ViewContactOfSdrPage& rParentViewContactOfSdrPage) 190 : ViewContactOfPageSubObject(rParentViewContactOfSdrPage) 191 { 192 } --- 535 unchanged lines hidden --- |