summaryrefslogtreecommitdiffstats
path: root/cui/source/dialogs/colorpicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/colorpicker.cxx')
-rw-r--r--cui/source/dialogs/colorpicker.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index 1413ba0f211e..06bba88c874a 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -292,17 +292,17 @@ void ColorFieldControl::UpdateBitmap()
sal_uInt8* pRGB_Vert = maRGB_Vert.data();
sal_uInt16* pPercent_Vert = maPercent_Vert.data();
- Color aBitmapColor(maColor);
+ Color aBitmapColor(maColor);
- sal_uInt16 nHue, nSat, nBri;
- maColor.RGBtoHSB(nHue, nSat, nBri);
+ sal_uInt16 nHue, nSat, nBri;
+ maColor.RGBtoHSB(nHue, nSat, nBri);
// this has been unlooped for performance reason, please do not merge back!
- sal_uInt16 y = nHeight,x;
+ sal_uInt16 y = nHeight,x;
- switch(meMode)
- {
+ switch(meMode)
+ {
case HUE:
while (y--)
{
@@ -375,7 +375,7 @@ void ColorFieldControl::UpdateBitmap()
}
}
break;
- }
+ }
}
void ColorFieldControl::ShowPosition( const Point& rPos, bool bUpdate )