diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-04 13:14:24 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-04 13:14:24 +0000 |
commit | 847f6138510b8c6d9ab498294c1ccb47c80978f4 (patch) | |
tree | b2ea5e6f1f9499b5fe070066f461c0f746732ba5 /registry/source/reflread.cxx | |
parent | 8bc5622f287d831f49e7419c4312a600b135c654 (diff) |
INTEGRATION: CWS ooo20031216 (1.8.40); FILE MERGED
2003/12/23 10:27:16 waratah 1.8.40.1: #i1858# initialise an unitialised variable
Diffstat (limited to 'registry/source/reflread.cxx')
-rw-r--r-- | registry/source/reflread.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index 3579a3e63..f851ed56c 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -2,9 +2,9 @@ * * $RCSfile: reflread.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hr $ $Date: 2004-02-03 11:51:17 $ + * last change: $Author: hr $ $Date: 2004-02-04 14:14:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -690,7 +690,7 @@ const sal_Char* FieldList::getFieldType(sal_uInt16 index) RTFieldAccess FieldList::getFieldAccess(sal_uInt16 index) { - RTFieldAccess aAccess; + RTFieldAccess aAccess = RT_ACCESS_INVALID; if ((m_numOfEntries > 0) && (index <= m_numOfEntries)) { @@ -844,7 +844,7 @@ const sal_Char* ReferenceList::getReferenceName(sal_uInt16 index) RTReferenceType ReferenceList::getReferenceType(sal_uInt16 index) { - RTReferenceType refType; + RTReferenceType refType = RT_REF_INVALID; if ((m_numOfEntries > 0) && (index <= m_numOfEntries)) { @@ -868,7 +868,7 @@ const sal_Char* ReferenceList::getReferenceDoku(sal_uInt16 index) RTFieldAccess ReferenceList::getReferenceAccess(sal_uInt16 index) { - RTFieldAccess aAccess; + RTFieldAccess aAccess = RT_ACCESS_INVALID; if ((m_numOfEntries > 0) && (index <= m_numOfEntries)) { |