[Libreoffice-commits] core.git: drawinglayer/source include/drawinglayer

Stephan Bergmann sbergman at redhat.com
Fri Jan 10 08:53:17 PST 2014


 drawinglayer/source/attribute/fillgraphicattribute.cxx        |    2 -
 drawinglayer/source/attribute/fillhatchattribute.cxx          |    2 -
 drawinglayer/source/attribute/fontattribute.cxx               |   14 +++++-----
 drawinglayer/source/attribute/linestartendattribute.cxx       |    2 -
 drawinglayer/source/attribute/sdrfillgraphicattribute.cxx     |    6 ++--
 drawinglayer/source/attribute/sdrlightattribute3d.cxx         |    2 -
 drawinglayer/source/attribute/sdrlinestartendattribute.cxx    |    8 ++---
 drawinglayer/source/attribute/sdrobjectattribute3d.cxx        |   10 +++----
 drawinglayer/source/attribute/sdrsceneattribute3d.cxx         |    2 -
 drawinglayer/source/processor3d/zbufferprocessor3d.cxx        |   12 ++++----
 include/drawinglayer/primitive2d/animatedprimitive2d.hxx      |    2 -
 include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx    |    2 -
 include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx   |    2 -
 include/drawinglayer/primitive2d/sceneprimitive2d.hxx         |    2 -
 include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx |   10 +++----
 include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx   |    2 -
 include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx    |   12 ++++----
 include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx      |   12 ++++----
 include/drawinglayer/primitive3d/shadowprimitive3d.hxx        |    2 -
 include/drawinglayer/primitive3d/textureprimitive3d.hxx       |    4 +-
 include/drawinglayer/processor2d/hittestprocessor2d.hxx       |    8 ++---
 include/drawinglayer/processor2d/linegeometryextractor2d.hxx  |    2 -
 include/drawinglayer/processor3d/defaultprocessor3d.hxx       |    6 ++--
 include/drawinglayer/processor3d/shadow3dextractor.hxx        |    6 ++--
 include/drawinglayer/texture/texture3d.hxx                    |    2 -
 25 files changed, 67 insertions(+), 67 deletions(-)

New commits:
commit 70863f08d83dec5c9ee51d06b64bbca59e9daaef
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 10 17:52:34 2014 +0100

    Use bool
    
    Change-Id: I2d06ae03650b318a1318d0e2b026352e22404fdd

diff --git a/drawinglayer/source/attribute/fillgraphicattribute.cxx b/drawinglayer/source/attribute/fillgraphicattribute.cxx
index f92b06d..2fc61e1 100644
--- a/drawinglayer/source/attribute/fillgraphicattribute.cxx
+++ b/drawinglayer/source/attribute/fillgraphicattribute.cxx
@@ -34,7 +34,7 @@ namespace drawinglayer
             basegfx::B2DRange                       maGraphicRange;
 
             // bitfield
-            unsigned                                mbTiling : 1;
+            bool                                    mbTiling : 1;
 
             // tiling definitions, offsets in X/Y in percent for each 2nd row.
             // If both are set, Y is ignored (X has precedence)
diff --git a/drawinglayer/source/attribute/fillhatchattribute.cxx b/drawinglayer/source/attribute/fillhatchattribute.cxx
index 1d56bad..fad8ca3 100644
--- a/drawinglayer/source/attribute/fillhatchattribute.cxx
+++ b/drawinglayer/source/attribute/fillhatchattribute.cxx
@@ -38,7 +38,7 @@ namespace drawinglayer
             sal_uInt32                              mnMinimalDiscreteDistance;
 
             // bitfield
-            unsigned                                mbFillBackground : 1;
+            bool                                    mbFillBackground : 1;
 
             ImpFillHatchAttribute(
                 HatchStyle eStyle,
diff --git a/drawinglayer/source/attribute/fontattribute.cxx b/drawinglayer/source/attribute/fontattribute.cxx
index 16f1785..f0b438c 100644
--- a/drawinglayer/source/attribute/fontattribute.cxx
+++ b/drawinglayer/source/attribute/fontattribute.cxx
@@ -36,13 +36,13 @@ namespace drawinglayer
             sal_uInt16                                  mnWeight;           // Font weight
 
             /// bitfield
-            unsigned                                    mbSymbol : 1;       // Symbol Font Flag
-            unsigned                                    mbVertical : 1;     // Vertical Text Flag
-            unsigned                                    mbItalic : 1;       // Italic Flag
-            unsigned                                    mbOutline : 1;      // Outline Flag
-            unsigned                                    mbRTL : 1;          // RTL Flag
-            unsigned                                    mbBiDiStrong : 1;   // BiDi Flag
-            unsigned                                    mbMonospaced : 1;
+            bool                                        mbSymbol : 1;       // Symbol Font Flag
+            bool                                        mbVertical : 1;     // Vertical Text Flag
+            bool                                        mbItalic : 1;       // Italic Flag
+            bool                                        mbOutline : 1;      // Outline Flag
+            bool                                        mbRTL : 1;          // RTL Flag
+            bool                                        mbBiDiStrong : 1;   // BiDi Flag
+            bool                                        mbMonospaced : 1;
 
             ImpFontAttribute(
                 const OUString& rFamilyName,
diff --git a/drawinglayer/source/attribute/linestartendattribute.cxx b/drawinglayer/source/attribute/linestartendattribute.cxx
index 0e39361..bf55837 100644
--- a/drawinglayer/source/attribute/linestartendattribute.cxx
+++ b/drawinglayer/source/attribute/linestartendattribute.cxx
@@ -36,7 +36,7 @@ namespace drawinglayer
             basegfx::B2DPolyPolygon                 maPolyPolygon;          // the StartEndGeometry PolyPolygon
 
             // bitfield
-            unsigned                                mbCentered : 1;         // use centered to ineStart/End point?
+            bool                                    mbCentered : 1;         // use centered to ineStart/End point?
 
             ImpLineStartEndAttribute(
                 double fWidth,
diff --git a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
index 217e7ab..a2f4d96 100755
--- a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
+++ b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
@@ -40,9 +40,9 @@ namespace drawinglayer
             basegfx::B2DVector                      maRectPoint;
 
             // bitfield
-            unsigned                                mbTiling : 1;
-            unsigned                                mbStretch : 1;
-            unsigned                                mbLogSize : 1;
+            bool                                    mbTiling : 1;
+            bool                                    mbStretch : 1;
+            bool                                    mbLogSize : 1;
 
             ImpSdrFillGraphicAttribute(
                 const Graphic& rFillGraphic,
diff --git a/drawinglayer/source/attribute/sdrlightattribute3d.cxx b/drawinglayer/source/attribute/sdrlightattribute3d.cxx
index cc4f2f1..e16674b 100644
--- a/drawinglayer/source/attribute/sdrlightattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrlightattribute3d.cxx
@@ -36,7 +36,7 @@ namespace drawinglayer
             basegfx::B3DVector                      maDirection;
 
             // bitfield
-            unsigned                                mbSpecular : 1;
+            bool                                    mbSpecular : 1;
 
             ImpSdr3DLightAttribute(
                 const basegfx::BColor& rColor,
diff --git a/drawinglayer/source/attribute/sdrlinestartendattribute.cxx b/drawinglayer/source/attribute/sdrlinestartendattribute.cxx
index c4851da..0d6e398 100644
--- a/drawinglayer/source/attribute/sdrlinestartendattribute.cxx
+++ b/drawinglayer/source/attribute/sdrlinestartendattribute.cxx
@@ -37,10 +37,10 @@ namespace drawinglayer
             double                                  mfEndWidth;             // 1/100th mm
 
             // bitfield
-            unsigned                                mbStartActive : 1L;     // start of Line is active
-            unsigned                                mbEndActive : 1L;       // end of Line is active
-            unsigned                                mbStartCentered : 1L;   // Line is centered on line start point
-            unsigned                                mbEndCentered : 1L;     // Line is centered on line end point
+            bool                                    mbStartActive : 1;     // start of Line is active
+            bool                                    mbEndActive : 1;       // end of Line is active
+            bool                                    mbStartCentered : 1;   // Line is centered on line start point
+            bool                                    mbEndCentered : 1;     // Line is centered on line end point
 
             ImpSdrLineStartEndAttribute(
                 const basegfx::B2DPolyPolygon& rStartPolyPolygon,
diff --git a/drawinglayer/source/attribute/sdrobjectattribute3d.cxx b/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
index 7ecac3e..f27f502 100644
--- a/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
@@ -39,11 +39,11 @@ namespace drawinglayer
             MaterialAttribute3D                                 maMaterial;                 // object, specular and emissive colors, SpecularIntensity
 
             // bitfield
-            unsigned                                            mbNormalsInvert : 1;        // invert normals
-            unsigned                                            mbDoubleSided : 1;          // surfaces are double sided
-            unsigned                                            mbShadow3D : 1;             // display shadow in 3D (if on), params for that are at scene
-            unsigned                                            mbTextureFilter : 1;        // filter texture to make more smooth
-            unsigned                                            mbReducedLineGeometry : 1;  // use reduced line geometry (object specific)
+            bool                                                mbNormalsInvert : 1;        // invert normals
+            bool                                                mbDoubleSided : 1;          // surfaces are double sided
+            bool                                                mbShadow3D : 1;             // display shadow in 3D (if on), params for that are at scene
+            bool                                                mbTextureFilter : 1;        // filter texture to make more smooth
+            bool                                                mbReducedLineGeometry : 1;  // use reduced line geometry (object specific)
 
             ImpSdr3DObjectAttribute(
                 ::com::sun::star::drawing::NormalsKind  aNormalsKind,
diff --git a/drawinglayer/source/attribute/sdrsceneattribute3d.cxx b/drawinglayer/source/attribute/sdrsceneattribute3d.cxx
index f5d0e82..aea1bba 100644
--- a/drawinglayer/source/attribute/sdrsceneattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrsceneattribute3d.cxx
@@ -36,7 +36,7 @@ namespace drawinglayer
             ::com::sun::star::drawing::ShadeMode        maShadeMode;
 
             // bitfield
-            unsigned                                    mbTwoSidedLighting : 1;
+            bool                                        mbTwoSidedLighting : 1;
 
         public:
             ImpSdrSceneAttribute(
diff --git a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
index 31c96f8..bce1797 100644
--- a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
+++ b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
@@ -153,12 +153,12 @@ private:
 
     // bitfield
     // some boolean flags for line span interpolator usages
-    unsigned                                                mbModifyColor : 1;
-    unsigned                                                mbUseTex : 1;
-    unsigned                                                mbHasTexCoor : 1;
-    unsigned                                                mbHasInvTexCoor : 1;
-    unsigned                                                mbUseNrm : 1;
-    unsigned                                                mbUseCol : 1;
+    bool                                                    mbModifyColor : 1;
+    bool                                                    mbUseTex : 1;
+    bool                                                    mbHasTexCoor : 1;
+    bool                                                    mbHasInvTexCoor : 1;
+    bool                                                    mbUseNrm : 1;
+    bool                                                    mbUseCol : 1;
 
     void getTextureCoor(basegfx::B2DPoint& rTarget) const
     {
diff --git a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
index edb3a7d..4d0358d 100644
--- a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
@@ -65,7 +65,7 @@ namespace drawinglayer
             /** flag if this is a text or graphic animation. Necessary since SdrViews need to differentiate
                 between both types if they are on/off
              */
-            unsigned                                        mbIsTextAnimation : 1;
+            bool                                            mbIsTextAnimation : 1;
 
         public:
             /// constructor
diff --git a/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx b/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx
index ec20118..d8ffc3f 100644
--- a/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx
@@ -76,7 +76,7 @@ namespace drawinglayer
             /** flag if given 3D geometry is already cheched for shadow definitions and 2d shadows
                 are created in maShadowPrimitives
              */
-            unsigned                                            mbShadow3DChecked : 1;
+            bool                                                mbShadow3DChecked : 1;
 
             /// private helpers
             bool impGetShadow3D(const geometry::ViewInformation2D& rViewInformation) const;
diff --git a/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx b/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx
index 07ed5a1..318588f 100644
--- a/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx
@@ -61,7 +61,7 @@ namespace drawinglayer
 
             /// bitfield
             /// flag to allow keeping the aspect ratio
-            unsigned                                    mbKeepAspectRatio : 1;
+            bool                                        mbKeepAspectRatio : 1;
 
         protected:
             /// local decomposition. Implementation will just return children
diff --git a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx
index c0c5144..6153674 100644
--- a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx
@@ -78,7 +78,7 @@ namespace drawinglayer
             /** flag if given 3D geometry is already cheched for shadow definitions and 2d shadows
                 are created in maShadowPrimitives
              */
-            unsigned                                            mbShadow3DChecked : 1;
+            bool                                                mbShadow3DChecked : 1;
 
             /// the last used NewDiscreteSize and NewUnitVisiblePart definitions for decomposition
             double                                              mfOldDiscreteSizeX;
diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
index 5756784..e12b186 100644
--- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
@@ -62,11 +62,11 @@ namespace drawinglayer
             TextRelief                                  meTextRelief;
 
             /// bitfield
-            unsigned                                    mbUnderlineAbove : 1;
-            unsigned                                    mbWordLineMode : 1;
-            unsigned                                    mbEmphasisMarkAbove : 1;
-            unsigned                                    mbEmphasisMarkBelow : 1;
-            unsigned                                    mbShadow : 1;
+            bool                                        mbUnderlineAbove : 1;
+            bool                                        mbWordLineMode : 1;
+            bool                                        mbEmphasisMarkAbove : 1;
+            bool                                        mbEmphasisMarkBelow : 1;
+            bool                                        mbShadow : 1;
 
             /// helper methods
             void impCreateGeometryContent(
diff --git a/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx b/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
index cec15ed..21a5baa 100644
--- a/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
@@ -50,7 +50,7 @@ namespace drawinglayer
             attribute::MaterialAttribute3D              maMaterial;
 
             /// bitfield
-            unsigned                                    mbDoubleSided : 1;
+            bool                                        mbDoubleSided : 1;
 
         public:
             /// constructor
diff --git a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
index c790d99..a072db7 100644
--- a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
@@ -59,12 +59,12 @@ namespace drawinglayer
             geometry::ViewInformation3D*                mpLastRLGViewInformation;
 
             /// bitfield
-            unsigned                                    mbSmoothNormals : 1; // Plane self
-            unsigned                                    mbSmoothHorizontalNormals : 1; // always
-            unsigned                                    mbSmoothLids : 1; // Front/back
-            unsigned                                    mbCharacterMode : 1;
-            unsigned                                    mbCloseFront : 1;
-            unsigned                                    mbCloseBack : 1;
+            bool                                        mbSmoothNormals : 1; // Plane self
+            bool                                        mbSmoothHorizontalNormals : 1; // always
+            bool                                        mbSmoothLids : 1; // Front/back
+            bool                                        mbCharacterMode : 1;
+            bool                                        mbCloseFront : 1;
+            bool                                        mbCloseBack : 1;
 
             /// create slices
             void impCreateSlices();
diff --git a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
index 8a9b984..2458294 100644
--- a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
@@ -61,12 +61,12 @@ namespace drawinglayer
             geometry::ViewInformation3D*                mpLastRLGViewInformation;
 
             /// bitfield
-            unsigned                                    mbSmoothNormals : 1; // Plane self
-            unsigned                                    mbSmoothHorizontalNormals : 1; // always
-            unsigned                                    mbSmoothLids : 1; // Front/back
-            unsigned                                    mbCharacterMode : 1;
-            unsigned                                    mbCloseFront : 1;
-            unsigned                                    mbCloseBack : 1;
+            bool                                        mbSmoothNormals : 1; // Plane self
+            bool                                        mbSmoothHorizontalNormals : 1; // always
+            bool                                        mbSmoothLids : 1; // Front/back
+            bool                                        mbCharacterMode : 1;
+            bool                                        mbCloseFront : 1;
+            bool                                        mbCloseBack : 1;
 
             /// create slices
             void impCreateSlices();
diff --git a/include/drawinglayer/primitive3d/shadowprimitive3d.hxx b/include/drawinglayer/primitive3d/shadowprimitive3d.hxx
index a17d3f1..67f716b 100644
--- a/include/drawinglayer/primitive3d/shadowprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/shadowprimitive3d.hxx
@@ -51,7 +51,7 @@ namespace drawinglayer
             double                                  mfShadowTransparence;
 
             /// bitfield
-            unsigned                                mbShadow3D : 1;
+            bool                                    mbShadow3D : 1;
 
         public:
             /// constructor
diff --git a/include/drawinglayer/primitive3d/textureprimitive3d.hxx b/include/drawinglayer/primitive3d/textureprimitive3d.hxx
index ab0798b..3c8473d 100644
--- a/include/drawinglayer/primitive3d/textureprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/textureprimitive3d.hxx
@@ -48,10 +48,10 @@ namespace drawinglayer
 
             /// bitfield
             /// flag if texture shall be modulated with white interpolated color
-            unsigned                                    mbModulate : 1;
+            bool                                        mbModulate : 1;
 
             /// flag if texture shall be filtered
-            unsigned                                    mbFilter : 1;
+            bool                                        mbFilter : 1;
 
         public:
             /// constructor
diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
index fc2ab32..6526d93 100644
--- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
@@ -52,8 +52,8 @@ namespace drawinglayer
             double                      mfDiscreteHitTolerance;
 
             /// bitfield
-            unsigned                    mbHit : 1;
-            unsigned                    mbHitToleranceUsed : 1;
+            bool                        mbHit : 1;
+            bool                        mbHitToleranceUsed : 1;
 
             /*  this flag decides if primitives which are embedded to an
                 UnifiedTransparencePrimitive2D and are invisible will be taken into account for
@@ -61,10 +61,10 @@ namespace drawinglayer
                 completely invisible and normally their content exists of hairline
                 primitives describing the object's contour
              */
-            unsigned                    mbUseInvisiblePrimitiveContent : 1;
+            bool                        mbUseInvisiblePrimitiveContent : 1;
 
             /// flag to concentraze on text hits only
-            unsigned                    mbHitTextOnly : 1;
+            bool                        mbHitTextOnly : 1;
 
             /// tooling methods
             void processBasePrimitive2D(const primitive2d::BasePrimitive2D& rCandidate);
diff --git a/include/drawinglayer/processor2d/linegeometryextractor2d.hxx b/include/drawinglayer/processor2d/linegeometryextractor2d.hxx
index 906dd9e..2fdc88d 100644
--- a/include/drawinglayer/processor2d/linegeometryextractor2d.hxx
+++ b/include/drawinglayer/processor2d/linegeometryextractor2d.hxx
@@ -44,7 +44,7 @@ namespace drawinglayer
             basegfx::B2DPolyPolygonVector           maExtractedLineFills;
 
             /// bitfield
-            unsigned                                mbInLineGeometry : 1;
+            bool                                    mbInLineGeometry : 1;
 
             /// tooling methods
             void processBasePrimitive2D(const primitive2d::BasePrimitive2D& rCandidate);
diff --git a/include/drawinglayer/processor3d/defaultprocessor3d.hxx b/include/drawinglayer/processor3d/defaultprocessor3d.hxx
index f227767..63a1227 100644
--- a/include/drawinglayer/processor3d/defaultprocessor3d.hxx
+++ b/include/drawinglayer/processor3d/defaultprocessor3d.hxx
@@ -100,9 +100,9 @@ namespace drawinglayer
             sal_uInt32                                          mnTransparenceCounter;
 
             /// bitfield
-            unsigned                                            mbModulate : 1;
-            unsigned                                            mbFilter : 1;
-            unsigned                                            mbSimpleTextureActive : 1;
+            bool                                                mbModulate : 1;
+            bool                                                mbFilter : 1;
+            bool                                                mbSimpleTextureActive : 1;
 
             //////////////////////////////////////////////////////////////////////////////
             // rendering support
diff --git a/include/drawinglayer/processor3d/shadow3dextractor.hxx b/include/drawinglayer/processor3d/shadow3dextractor.hxx
index 183d612..90b7e86 100644
--- a/include/drawinglayer/processor3d/shadow3dextractor.hxx
+++ b/include/drawinglayer/processor3d/shadow3dextractor.hxx
@@ -70,13 +70,13 @@ namespace drawinglayer
 
             /// bitfield
             /// flag if shadow plane projection preparation leaded to valid results
-            unsigned                                        mbShadowProjectionIsValid : 1;
+            bool                                            mbShadowProjectionIsValid : 1;
 
             /// flag if conversion is switched on
-            unsigned                                        mbConvert : 1;
+            bool                                            mbConvert : 1;
 
             /// flag if conversion shall use projection
-            unsigned                                        mbUseProjection : 1;
+            bool                                            mbUseProjection : 1;
 
             /// local helpers
             basegfx::B2DPolygon impDoShadowProjection(const basegfx::B3DPolygon& rSource);
diff --git a/include/drawinglayer/texture/texture3d.hxx b/include/drawinglayer/texture/texture3d.hxx
index c51845c..333f346 100644
--- a/include/drawinglayer/texture/texture3d.hxx
+++ b/include/drawinglayer/texture/texture3d.hxx
@@ -143,7 +143,7 @@ namespace drawinglayer
             GeoTexSvxHatch*                 mp2;
 
             // bitfield
-            unsigned                        mbFillBackground : 1;
+            bool                            mbFillBackground : 1;
 
             // helpers
             bool impIsOnHatch(const basegfx::B2DPoint& rUV) const;


More information about the Libreoffice-commits mailing list