summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/idxf/dxfreprd.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/graphicfilter/idxf/dxfreprd.hxx')
-rw-r--r--filter/source/graphicfilter/idxf/dxfreprd.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfreprd.hxx b/filter/source/graphicfilter/idxf/dxfreprd.hxx
index 58dd7fa3139e..a9c52915d717 100644
--- a/filter/source/graphicfilter/idxf/dxfreprd.hxx
+++ b/filter/source/graphicfilter/idxf/dxfreprd.hxx
@@ -41,7 +41,7 @@
class DXFBoundingBox {
public:
- BOOL bEmpty;
+ sal_Bool bEmpty;
double fMinX;
double fMinY;
double fMinZ;
@@ -49,7 +49,7 @@ public:
double fMaxY;
double fMaxZ;
- DXFBoundingBox() { bEmpty=TRUE; }
+ DXFBoundingBox() { bEmpty=sal_True; }
void Union(const DXFVector & rVector);
};
@@ -63,15 +63,15 @@ public:
DXFPalette();
~DXFPalette();
- BYTE GetRed(BYTE nIndex) const;
- BYTE GetGreen(BYTE nIndex) const;
- BYTE GetBlue(BYTE nIndex) const;
+ sal_uInt8 GetRed(sal_uInt8 nIndex) const;
+ sal_uInt8 GetGreen(sal_uInt8 nIndex) const;
+ sal_uInt8 GetBlue(sal_uInt8 nIndex) const;
private:
- BYTE * pRed;
- BYTE * pGreen;
- BYTE * pBlue;
- void SetColor(BYTE nIndex, BYTE nRed, BYTE nGreen, BYTE nBlue);
+ sal_uInt8 * pRed;
+ sal_uInt8 * pGreen;
+ sal_uInt8 * pBlue;
+ void SetColor(sal_uInt8 nIndex, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue);
};
@@ -112,7 +112,7 @@ public:
double getGlobalLineTypeScale() const;
void setGlobalLineTypeScale(double fGlobalLineTypeScale);
- BOOL Read( SvStream & rIStream, USHORT nMinPercent, USHORT nMaxPercent);
+ sal_Bool Read( SvStream & rIStream, sal_uInt16 nMinPercent, sal_uInt16 nMaxPercent);
// Liesst die komplette DXF-Datei ein.
private:
@@ -126,9 +126,9 @@ private:
//-------------------inlines--------------------------------------------------
//----------------------------------------------------------------------------
-inline BYTE DXFPalette::GetRed(BYTE nIndex) const { return pRed[nIndex]; }
-inline BYTE DXFPalette::GetGreen(BYTE nIndex) const { return pGreen[nIndex]; }
-inline BYTE DXFPalette::GetBlue(BYTE nIndex) const { return pBlue[nIndex]; }
+inline sal_uInt8 DXFPalette::GetRed(sal_uInt8 nIndex) const { return pRed[nIndex]; }
+inline sal_uInt8 DXFPalette::GetGreen(sal_uInt8 nIndex) const { return pGreen[nIndex]; }
+inline sal_uInt8 DXFPalette::GetBlue(sal_uInt8 nIndex) const { return pBlue[nIndex]; }
inline rtl_TextEncoding DXFRepresentation::getTextEncoding() const { return mEnc; }
inline void DXFRepresentation::setTextEncoding(rtl_TextEncoding aEnc) { mEnc = aEnc; }
inline double DXFRepresentation::getGlobalLineTypeScale() const { return mfGlobalLineTypeScale; }