xpool.cxx (70d3707a) | xpool.cxx (1396af09) |
---|---|
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 --- 34 unchanged lines hidden (view full) --- 43 sal_uInt16 nAttrEnd, 44 sal_Bool bLoadRefCounts) 45: SfxItemPool(String("XOutdevItemPool", gsl_getSystemTextEncoding()), nAttrStart, nAttrEnd, 0L, 0L, bLoadRefCounts) 46{ 47 // prepare some defaults 48 const XubString aNullStr; 49 const Graphic aNullGraphic; 50 const basegfx::B2DPolyPolygon aNullPol; | 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 --- 34 unchanged lines hidden (view full) --- 43 sal_uInt16 nAttrEnd, 44 sal_Bool bLoadRefCounts) 45: SfxItemPool(String("XOutdevItemPool", gsl_getSystemTextEncoding()), nAttrStart, nAttrEnd, 0L, 0L, bLoadRefCounts) 46{ 47 // prepare some defaults 48 const XubString aNullStr; 49 const Graphic aNullGraphic; 50 const basegfx::B2DPolyPolygon aNullPol; |
51 const Color aNullLineCol(RGB_Color(COL_BLACK)); 52 const Color aNullFillCol(RGB_COLORDATA( 153, 204, 255 )); | 51 const Color aNullLineCol(COL_DEFAULT_SHAPE_STROKE); // #121448# Use defined default color 52 const Color aNullFillCol(COL_DEFAULT_SHAPE_FILLING); // #121448# Use defined default color |
53 const Color aNullShadowCol(RGB_Color(COL_LIGHTGRAY)); 54 const XDash aNullDash; | 53 const Color aNullShadowCol(RGB_Color(COL_LIGHTGRAY)); 54 const XDash aNullDash; |
55 const XGradient aNullGrad(aNullLineCol, RGB_Color(COL_WHITE)); | 55 const XGradient aNullGrad(RGB_Color(COL_BLACK), RGB_Color(COL_WHITE)); |
56 const XHatch aNullHatch(aNullLineCol); 57 58 // get master pointer, evtl. add myself to the end of the pools 59 if(!_pMaster) 60 { 61 _pMaster = this; 62 } 63 else --- 169 unchanged lines hidden --- | 56 const XHatch aNullHatch(aNullLineCol); 57 58 // get master pointer, evtl. add myself to the end of the pools 59 if(!_pMaster) 60 { 61 _pMaster = this; 62 } 63 else --- 169 unchanged lines hidden --- |