[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Jun 14 08:53:05 PDT 2011
sw/source/core/fields/reffld.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 448fa81abaed90524f95d0f3d5daa730df6852f0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Jun 14 16:12:29 2011 +0100
WaE: uninitialized after conversion to std::set
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx
index cc0920a..7c3382c 100644
--- a/sw/source/core/fields/reffld.cxx
+++ b/sw/source/core/fields/reffld.cxx
@@ -984,7 +984,7 @@ void _RefIdsMap::Init( SwDoc& rDoc, SwDoc& rDestDoc, sal_Bool bField )
/// @returns The lowest unused ID.
sal_uInt16 _RefIdsMap::GetFirstUnusedId( std::set<sal_uInt16> &rIds )
{
- sal_uInt16 num;
+ sal_uInt16 num(0);
std::set<sal_uInt16>::iterator it;
for( it = rIds.begin(); it != rIds.end(); ++it )
More information about the Libreoffice-commits
mailing list