[Libreoffice-commits] core.git: vcl/inc
Chris Sherlock
chris.sherlock79 at gmail.com
Mon Jan 25 03:17:43 PST 2016
vcl/inc/octree.hxx | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
New commits:
commit 05cf6acb96415219481ee57e7545555287ae2422
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Mon Jan 25 22:09:39 2016 +1100
vcl: reformat tabs in vcl/inc/octree.hxx
Change-Id: Ibff8fee74605bc1570b409ddd42c4834a67e2fbd
diff --git a/vcl/inc/octree.hxx b/vcl/inc/octree.hxx
index 5210387..803f592 100644
--- a/vcl/inc/octree.hxx
+++ b/vcl/inc/octree.hxx
@@ -32,11 +32,11 @@ typedef struct OctreeNode
sal_uLong nRed;
sal_uLong nGreen;
sal_uLong nBlue;
- OctreeNode* pChild[ 8 ];
- OctreeNode* pNext;
- OctreeNode* pNextInCache;
+ OctreeNode* pChild[ 8 ];
+ OctreeNode* pNext;
+ OctreeNode* pNextInCache;
sal_uInt16 nPalIndex;
- bool bLeaf;
+ bool bLeaf;
} NODE;
class ImpNodeCache;
@@ -45,6 +45,16 @@ class BitmapReadAccess;
class VCL_PLUGIN_PUBLIC Octree
{
private:
+ Octree() {}
+
+ void CreatePalette( NODE* pNode );
+ void GetPalIndex( NODE* pNode );
+
+ SAL_DLLPRIVATE void ImplCreateOctree();
+ SAL_DLLPRIVATE void ImplDeleteOctree( NODE** ppNode );
+ SAL_DLLPRIVATE void ImplAdd( NODE** ppNode );
+ SAL_DLLPRIVATE void ImplReduce();
+
BitmapPalette aPal;
sal_uLong nMax;
@@ -55,17 +65,7 @@ private:
BitmapColor* pColor;
ImpNodeCache* pNodeCache;
const BitmapReadAccess* pAcc;
- sal_uInt16 nPalIndex;
-
- Octree() {}
-
- void CreatePalette( NODE* pNode );
- void GetPalIndex( NODE* pNode );
-
- SAL_DLLPRIVATE void ImplCreateOctree();
- SAL_DLLPRIVATE void ImplDeleteOctree( NODE** ppNode );
- SAL_DLLPRIVATE void ImplAdd( NODE** ppNode );
- SAL_DLLPRIVATE void ImplReduce();
+ sal_uInt16 nPalIndex;
public:
@@ -73,7 +73,7 @@ public:
~Octree();
inline const BitmapPalette& GetPalette();
- inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor );
+ inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor );
};
inline const BitmapPalette& Octree::GetPalette()
@@ -97,18 +97,18 @@ class VCL_PLUGIN_PUBLIC InverseColorMap
{
private:
- sal_uInt8* pBuffer;
- sal_uInt8* pMap;
- const sal_uLong nBits;
+ sal_uInt8* pBuffer;
+ sal_uInt8* pMap;
+ const sal_uLong nBits;
SAL_DLLPRIVATE void ImplCreateBuffers( const sal_uLong nMax );
public:
- explicit InverseColorMap( const BitmapPalette& rPal );
- ~InverseColorMap();
+ explicit InverseColorMap( const BitmapPalette& rPal );
+ ~InverseColorMap();
- inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor );
+ inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor );
};
inline sal_uInt16 InverseColorMap::GetBestPaletteIndex( const BitmapColor& rColor )
More information about the Libreoffice-commits
mailing list