summaryrefslogtreecommitdiff
path: root/vcl/source/window/dlgctrl.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-04-15 12:26:19 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-04-15 12:26:19 +0000
commitbbe04b272bb0b829e7246accf888ca7ca600ce3f (patch)
treebf5669334c21be0314815e8fd80031665f9a0e38 /vcl/source/window/dlgctrl.cxx
parent7be330d0a08aca0446c570e6c9b8bddc4d339fcf (diff)
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
Diffstat (limited to 'vcl/source/window/dlgctrl.cxx')
-rw-r--r--vcl/source/window/dlgctrl.cxx4
1 files changed, 2 insertions, 2 deletions
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<Window*>(this),
nIndex,