From bbe04b272bb0b829e7246accf888ca7ca600ce3f Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 15 Apr 2008 12:26:19 +0000 Subject: INTEGRATION: CWS aqua11y01 (1.25.80); FILE MERGED 2008/04/03 12:35:35 fne 1.25.80.1: #i87751# uninitialized values were leading to infinite loop if window could not be found --- vcl/source/window/dlgctrl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 7e1ff3445d42..e10fd767fbc1 100644 --- a/vcl/source/window/dlgctrl.cxx +++ b/vcl/source/window/dlgctrl.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dlgctrl.cxx,v $ - * $Revision: 1.26 $ + * $Revision: 1.27 $ * * This file is part of OpenOffice.org. * @@ -1002,7 +1002,7 @@ Window* Window::GetLabelFor() const { Window* pSWindow = NULL; // get index, form start and form end - USHORT nIndex, nFormStart, nFormEnd; + USHORT nIndex=0, nFormStart=0, nFormEnd=0; pSWindow = ::ImplFindDlgCtrlWindow( pFrameWindow, const_cast(this), nIndex, -- cgit v1.2.3