summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:20:46 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:20:46 +0000
commit5949fec0730ba239513ef0220567f3e3a2ebe795 (patch)
treeb757fd6e5c156819d1238ce06d2304f9f2765834 /framework/source/uiconfiguration
parentc26b9bcbac9ae70500fc80ca1d75fa1ad7591290 (diff)
INTEGRATION: CWS pj65 (1.18.20); FILE MERGED
2006/10/31 14:05:37 pjanik 1.18.20.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/moduleuiconfigurationmanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
index 2570b2188d..10471454f4 100644
--- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: moduleuiconfigurationmanager.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 10:42:34 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:20:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -916,7 +916,7 @@ void SAL_CALL ModuleUIConfigurationManager::initialize( const Sequence< Any >& a
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 );