summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/patternfillprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/patternfillprimitive2d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx b/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
index 102097c791dc..8296554f5dc9 100644
--- a/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
@@ -69,20 +69,20 @@ namespace drawinglayer
if(fSquare > 0.0)
{
// check if less than a maximum square pixels is used
- static sal_uInt32 fMaximumSquare(MAXIMUM_SQUARE_LENGTH * MAXIMUM_SQUARE_LENGTH);
+ static const sal_uInt32 fMaximumSquare(MAXIMUM_SQUARE_LENGTH * MAXIMUM_SQUARE_LENGTH);
if(fSquare < fMaximumSquare)
{
// calculate needed number of tiles and check if used more than a minimum count
const texture::GeoTexSvxTiled aTiling(getReferenceRange());
const sal_uInt32 nTiles(aTiling.getNumberOfTiles());
- static sal_uInt32 nMinimumTiles(MINIMUM_TILES_LENGTH * MINIMUM_TILES_LENGTH);
+ static const sal_uInt32 nMinimumTiles(MINIMUM_TILES_LENGTH * MINIMUM_TILES_LENGTH);
if(nTiles >= nMinimumTiles)
{
rWidth = basegfx::fround(ceil(fW));
rHeight = basegfx::fround(ceil(fH));
- static sal_uInt32 fMinimumSquare(MINIMUM_SQUARE_LENGTH * MINIMUM_SQUARE_LENGTH);
+ static const sal_uInt32 fMinimumSquare(MINIMUM_SQUARE_LENGTH * MINIMUM_SQUARE_LENGTH);
if(fSquare < fMinimumSquare)
{