summaryrefslogtreecommitdiff
path: root/sw/source/core/ole
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-11-12 15:25:50 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-11-12 15:25:50 +0000
commite3a741feb3c92a9008741b61a0322be1bc92d667 (patch)
tree1dbdd5856cc5d589311c4acf4076e703c9a21fad /sw/source/core/ole
parent0491e0f12e38690a179a110dd0b7b397cf616f16 (diff)
INTEGRATION: CWS pj86 (1.39.4); FILE MERGED
2007/09/28 21:33:02 pjanik 1.39.4.1: #i81574#: Initialize variable(s) to prevent warnings on Mac OS X with gcc-4.0.1.
Diffstat (limited to 'sw/source/core/ole')
-rw-r--r--sw/source/core/ole/ndole.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index 281fb884eb06..ae8c9095dca5 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ndole.cxx,v $
*
- * $Revision: 1.39 $
+ * $Revision: 1.40 $
*
- * last change: $Author: hr $ $Date: 2007-09-27 09:08:33 $
+ * last change: $Author: rt $ $Date: 2007-11-12 16:25:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1004,7 +1004,7 @@ void SwOLELRUCache::Load()
DBG_ASSERT( aValues.getLength() == aNames.getLength(), "GetProperties failed" )
if( aValues.getLength() == aNames.getLength() && pValues->hasValue() )
{
- sal_Int32 nVal;
+ sal_Int32 nVal = 0;
*pValues >>= nVal;
//if( 20 > nVal )
// nVal = 20;