summaryrefslogtreecommitdiff
path: root/vcl/inc/impoct.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/impoct.hxx')
-rw-r--r--vcl/inc/impoct.hxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/vcl/inc/impoct.hxx b/vcl/inc/impoct.hxx
index 93f2df99c3ce..4183fc7fb5bc 100644
--- a/vcl/inc/impoct.hxx
+++ b/vcl/inc/impoct.hxx
@@ -22,10 +22,8 @@
#include "octree.hxx"
-
// - ImpErrorQuad -
-
class ImpErrorQuad
{
long nRed;
@@ -59,8 +57,6 @@ public:
inline BitmapColor ImplGetColor();
};
-
-
inline void ImpErrorQuad::operator=( const BitmapColor& rColor )
{
nRed = (long) rColor.GetRed() << 5L;
@@ -68,8 +64,6 @@ inline void ImpErrorQuad::operator=( const BitmapColor& rColor )
nBlue = (long) rColor.GetBlue() << 5L;
}
-
-
inline ImpErrorQuad& ImpErrorQuad::operator-=( const BitmapColor& rColor )
{
nRed -= ( (long) rColor.GetRed() << 5L );
@@ -79,8 +73,6 @@ inline ImpErrorQuad& ImpErrorQuad::operator-=( const BitmapColor& rColor )
return *this;
}
-
-
inline void ImpErrorQuad::ImplAddColorError1( const ImpErrorQuad& rErrQuad )
{
nRed += ( rErrQuad.nRed >> 4L );
@@ -88,8 +80,6 @@ inline void ImpErrorQuad::ImplAddColorError1( const ImpErrorQuad& rErrQuad )
nBlue += ( rErrQuad.nBlue >> 4L );
}
-
-
inline void ImpErrorQuad::ImplAddColorError3( const ImpErrorQuad& rErrQuad )
{
nRed += ( rErrQuad.nRed * 3L >> 4L );
@@ -97,8 +87,6 @@ inline void ImpErrorQuad::ImplAddColorError3( const ImpErrorQuad& rErrQuad )
nBlue += ( rErrQuad.nBlue * 3L >> 4L );
}
-
-
inline void ImpErrorQuad::ImplAddColorError5( const ImpErrorQuad& rErrQuad )
{
nRed += ( rErrQuad.nRed * 5L >> 4L );
@@ -106,8 +94,6 @@ inline void ImpErrorQuad::ImplAddColorError5( const ImpErrorQuad& rErrQuad )
nBlue += ( rErrQuad.nBlue * 5L >> 4L );
}
-
-
inline void ImpErrorQuad::ImplAddColorError7( const ImpErrorQuad& rErrQuad )
{
nRed += ( rErrQuad.nRed * 7L >> 4L );
@@ -115,8 +101,6 @@ inline void ImpErrorQuad::ImplAddColorError7( const ImpErrorQuad& rErrQuad )
nBlue += ( rErrQuad.nBlue *7L >> 4L );
}
-
-
inline BitmapColor ImpErrorQuad::ImplGetColor()
{
return BitmapColor( (sal_uInt8) ( ( nRed < 0L ? 0L : nRed > 8160L ? 8160L : nRed ) >> 5L ),
@@ -124,10 +108,8 @@ inline BitmapColor ImpErrorQuad::ImplGetColor()
(sal_uInt8) ( ( nBlue < 0L ? 0L : nBlue > 8160L ? 8160L : nBlue ) >> 5L ) );
}
-
// - NodeCache -
-
class ImpNodeCache
{
OctreeNode* pActNode;
@@ -141,8 +123,6 @@ public:
inline void ImplReleaseNode( OctreeNode* pNode );
};
-
-
inline OctreeNode* ImpNodeCache::ImplGetFreeNode()
{
OctreeNode* pNode;
@@ -160,8 +140,6 @@ inline OctreeNode* ImpNodeCache::ImplGetFreeNode()
return pNode;
}
-
-
inline void ImpNodeCache::ImplReleaseNode( OctreeNode* pNode )
{
pNode->pNextInCache = pActNode;