diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:20:34 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:20:34 +0000 |
commit | 3e34bfccb190eee0257671d0b57a3587203a3fce (patch) | |
tree | daf0ac2be3ddbe24ff157dea85077f00da1fbb62 /framework/source/uiconfiguration | |
parent | 37f879e01cff20538517db10b066d1b78cc573fd (diff) |
INTEGRATION: CWS pj65 (1.15.18); FILE MERGED
2006/10/31 14:05:33 pjanik 1.15.18.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r-- | framework/source/uiconfiguration/moduleimagemanager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx index 8257b1384b07..9ba478ebda56 100644 --- a/framework/source/uiconfiguration/moduleimagemanager.cxx +++ b/framework/source/uiconfiguration/moduleimagemanager.cxx @@ -4,9 +4,9 @@ * * $RCSfile: moduleimagemanager.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: kz $ $Date: 2006-11-06 14:39:40 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:20:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -876,7 +876,7 @@ void SAL_CALL ModuleImageManager::initialize( const Sequence< Any >& aArguments uno::Reference< XPropertySet > xPropSet( m_xUserConfigStorage, UNO_QUERY ); if ( xPropSet.is() ) { - long nOpenMode; + long nOpenMode = 0; Any a = xPropSet->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "OpenMode" ))); if ( a >>= nOpenMode ) m_bReadOnly = !( nOpenMode & ElementModes::WRITE ); |