Kaydet (Commit) abf2012c authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

#100000# 0 as initial value

üst 61b3d417
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: unodialog.cxx,v $ * $RCSfile: unodialog.cxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: vg $ $Date: 2007-10-29 12:29:48 $ * last change: $Author: vg $ $Date: 2007-10-29 16:05:37 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -178,7 +178,7 @@ sal_Bool UnoDialog::isHighContrast() ...@@ -178,7 +178,7 @@ sal_Bool UnoDialog::isHighContrast()
sal_Bool bHighContrast = sal_False; sal_Bool bHighContrast = sal_False;
try try
{ {
sal_Int32 nBackgroundColor = sal_False; sal_Int32 nBackgroundColor = 0;
if ( mxDialogModelPropertySet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "BackgroundColor" ) ) ) >>= nBackgroundColor ) if ( mxDialogModelPropertySet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "BackgroundColor" ) ) ) >>= nBackgroundColor )
{ {
sal_uInt8 nLum( static_cast< sal_uInt8 >( ( static_cast< sal_uInt8 >( nBackgroundColor >> 16 ) * 28 + sal_uInt8 nLum( static_cast< sal_uInt8 >( ( static_cast< sal_uInt8 >( nBackgroundColor >> 16 ) * 28 +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment