summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-04-27 19:34:37 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-27 21:52:29 +0200
commitf42c44e20c3bda7e0e2bc3bd9749df8208ad7171 (patch)
tree8b6de03cccfd163be27a0c56087cdd43fe61bef5 /svtools
parentfbd52034c0c091ba11c625a6d020134edf8783e2 (diff)
Make the default application background lighter (and remove a hack).
Change-Id: I03f8db9b47ceb9b0240f3ac549681d8362eea0b5
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/colorcfg.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 41fc23812908..abdb852dff28 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -495,15 +495,6 @@ ColorConfigValue ColorConfig::GetColorValue(ColorConfigEntry eEntry, sal_Bool bS
{
if(COL_AUTO == sal::static_int_cast<ColorData>(aRet.nColor))
aRet.nColor = ColorConfig::GetDefaultColor(eEntry).GetColor();
- //#103495# don't allow grey between 40% and 60% as application background
- const sal_uInt8 nRed = COLORDATA_RED( aRet.nColor);
- if(eEntry == APPBACKGROUND &&
- (nRed == COLORDATA_GREEN( aRet.nColor)) &&
- (nRed == COLORDATA_BLUE( aRet.nColor)) &&
- nRed > 102 && nRed < 153 )
- {
- aRet.nColor = RGB_COLORDATA(153, 153, 153);
- }
}
return aRet;