summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/octree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/octree.cxx')
-rw-r--r--vcl/source/gdi/octree.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/vcl/source/gdi/octree.cxx b/vcl/source/gdi/octree.cxx
index 844eabbafceb..5f4f8235178a 100644
--- a/vcl/source/gdi/octree.cxx
+++ b/vcl/source/gdi/octree.cxx
@@ -75,18 +75,6 @@ ImpNodeCache::~ImpNodeCache()
// - Octree -
// ----------
-Octree::Octree( sal_uLong nColors ) :
- nMax ( nColors ),
- nLeafCount ( 0L ),
- pTree ( NULL ),
- pAcc ( NULL )
-{
- pNodeCache = new ImpNodeCache( nColors );
- memset( pReduce, 0, ( OCTREE_BITS + 1 ) * sizeof( PNODE ) );
-}
-
-// ------------------------------------------------------------------------
-
Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) :
nMax ( nColors ),
nLeafCount ( 0L ),
@@ -108,18 +96,6 @@ Octree::~Octree()
// ------------------------------------------------------------------------
-void Octree::AddColor( const BitmapColor& rColor )
-{
- pColor = &(BitmapColor&) rColor;
- nLevel = 0L;
- ImplAdd( &pTree );
-
- while( nLeafCount > nMax )
- ImplReduce();
-}
-
-// ------------------------------------------------------------------------
-
void Octree::ImplCreateOctree()
{
if( !!*pAcc )