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 | 6b6c23ba661f57a4d1c905eb74a273be841b47b2 (patch) | |
tree | d1ccdf7214399e541001f75ea4680f370f47cef0 /registry/source/reflread.cxx | |
parent | a1cf31c53140f29cb14a4cf7fa45fb6af3aa3f14 (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 b0c12378a62a..94cb88931b4f 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)) { |