summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-07 22:54:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-08 09:29:31 +0100
commit3a53904ae64fa87216fcc972dbc746068c640818 (patch)
tree85dabe4176a00037e46920c8dd1c72a1656c95c6 /sdext
parent595ce66e708da9e742a2c418f013fc675ffc45a3 (diff)
callcatcher: update list
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/unodialog.cxx22
-rw-r--r--sdext/source/minimizer/unodialog.hxx2
2 files changed, 0 insertions, 24 deletions
diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx
index e5f6fdceeed3..024bef81bfb9 100644
--- a/sdext/source/minimizer/unodialog.cxx
+++ b/sdext/source/minimizer/unodialog.cxx
@@ -153,28 +153,6 @@ void UnoDialog::setVisible( const OUString& rName, sal_Bool bVisible )
// -----------------------------------------------------------------------------
-sal_Bool UnoDialog::isHighContrast()
-{
- sal_Bool bHighContrast = sal_False;
- try
- {
- sal_Int32 nBackgroundColor = 0;
- if ( mxDialogModelPropertySet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "BackgroundColor" ) ) ) >>= nBackgroundColor )
- {
- sal_uInt8 nLum( static_cast< sal_uInt8 >( ( static_cast< sal_uInt8 >( nBackgroundColor >> 16 ) * 28 +
- static_cast< sal_uInt8 >( nBackgroundColor >> 8 ) * 151 +
- static_cast< sal_uInt8 >( nBackgroundColor ) * 77 ) >> 8 ) );
- bHighContrast = nLum <= 38;
- }
- }
- catch( Exception& )
- {
- }
- return bHighContrast;
-}
-
-// -----------------------------------------------------------------------------
-
Reference< XButton > UnoDialog::insertButton( const OUString& rName, Reference< XActionListener > xActionListener,
const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues )
{
diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx
index 78e3fd0f409c..b89164d93543 100644
--- a/sdext/source/minimizer/unodialog.hxx
+++ b/sdext/source/minimizer/unodialog.hxx
@@ -84,8 +84,6 @@ public :
void setVisible( const rtl::OUString& rName, sal_Bool bVisible );
- sal_Bool isHighContrast();
-
sal_Int32 getMapsFromPixels( sal_Int32 nPixels ) const;
com::sun::star::uno::Reference< com::sun::star::awt::XButton > insertButton( const rtl::OUString& rName,