summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:06:50 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:06:50 +0000
commit734b0603565e7e23dd61fc01803cdf34f888c925 (patch)
tree08261da7aa39fc65a117229ccd3cbe6e44c6037d /vcl
parentf71cf67e73334e323129d188988c78a30f80f92c (diff)
INTEGRATION: CWS warningfixes03_SRC680 (1.241.20); FILE MERGED
2006/08/18 12:51:24 mhu 1.241.20.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index e8594e32d273..0fe518acc694 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: window.cxx,v $
*
- * $Revision: 1.241 $
+ * $Revision: 1.242 $
*
- * last change: $Author: ihi $ $Date: 2006-08-04 09:53:33 $
+ * last change: $Author: ihi $ $Date: 2006-08-29 11:06:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -507,7 +507,7 @@ void Window::ImplUpdateGlobalSettings( AllSettings& rSettings, BOOL bCallHdl )
// #104427# auto detect HC mode ?
if( !rSettings.GetStyleSettings().GetHighContrastMode() )
{
- sal_Bool bTmp, bAutoHCMode = sal_True;
+ sal_Bool bTmp = sal_False, bAutoHCMode = sal_True;
utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithServiceFactory(
vcl::unohelper::GetMultiServiceFactory(),
OUString::createFromAscii( "org.openoffice.Office.Common/Accessibility" ) ); // note: case sensisitive !
@@ -531,7 +531,7 @@ void Window::ImplUpdateGlobalSettings( AllSettings& rSettings, BOOL bCallHdl )
// Detect if images in menus are allowed or not
{
- sal_Bool bTmp, bUseImagesInMenus = sal_True;
+ sal_Bool bTmp = sal_False, bUseImagesInMenus = sal_True;
utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithServiceFactory(
vcl::unohelper::GetMultiServiceFactory(),
OUString::createFromAscii( "org.openoffice.Office.Common/View/Menu" ) ); // note: case sensisitive !