summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-11-11 14:30:42 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2010-11-11 14:30:42 +0100
commit1be555d6d80ace6f39ce2379ffcbdbe72178b79b (patch)
tree633454381cb7bd8c7b8eee34e0280981944f5e7f /framework
parent334438e184e094353de22d2f9d10aad00f0489dc (diff)
Remove all traces of _HC (high contrast) from libs-core
This compiles successfully, but is otherwise only lightly tested.
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/uiconfiguration/imagetype.hxx2
-rw-r--r--framework/source/uiconfiguration/imagemanagerimpl.cxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/framework/inc/uiconfiguration/imagetype.hxx b/framework/inc/uiconfiguration/imagetype.hxx
index 5183a040bd..11990108e2 100644
--- a/framework/inc/uiconfiguration/imagetype.hxx
+++ b/framework/inc/uiconfiguration/imagetype.hxx
@@ -39,8 +39,6 @@ enum ImageType
{
ImageType_Color = 0,
ImageType_Color_Large,
- ImageType_HC,
- ImageType_HC_Large,
ImageType_COUNT
};
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx
index 5ef78794c0..c27a596e1c 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.cxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx
@@ -427,8 +427,7 @@ static sal_Bool implts_checkAndScaleGraphic( uno::Reference< XGraphic >& rOutGra
Size aSize = aImage.GetSizePixel();
bool bMustScale( false );
- if (( nImageType == ImageType_Color_Large ) ||
- ( nImageType == ImageType_HC_Large ))
+ if ( nImageType == ImageType_Color_Large )
bMustScale = ( aSize != aLargeSize );
else
bMustScale = ( aSize != aNormSize );