summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-10-29 15:05:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-10-29 15:05:37 +0000
commitabf2012cd723224e728dc59421dc6edc04ec3494 (patch)
tree026c5717327268e2f42a5c42b57e96ad76c0962d
parent61b3d417f058d6f56292eb438b4ae81107c5fc5d (diff)
#100000# 0 as initial value
-rw-r--r--sdext/source/minimizer/unodialog.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx
index 64740345945f..f7086a0f63f5 100644
--- a/sdext/source/minimizer/unodialog.cxx
+++ b/sdext/source/minimizer/unodialog.cxx
@@ -4,9 +4,9 @@
*
* $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 terms of GNU Lesser General Public License Version 2.1.
@@ -178,7 +178,7 @@ sal_Bool UnoDialog::isHighContrast()
sal_Bool bHighContrast = sal_False;
try
{
- sal_Int32 nBackgroundColor = sal_False;
+ 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 +