diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 16:22:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 16:35:53 +0000 |
commit | 7591a91fe3e517303b8840c83a0d824b16a5410a (patch) | |
tree | 4fb085831dd5abb9f79d2a912898e97b23dd8cd6 /vcl | |
parent | 2f41b934e5538e4de51f39eca55ec86df5ce32c7 (diff) |
coverity#708894 Unused pointer value
Change-Id: I159f172171281e6b65190f65fedcb93975560dd1
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dlgctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 531581f4ab50..cb43d3431b70 100644 --- a/vcl/source/window/dlgctrl.cxx +++ b/vcl/source/window/dlgctrl.cxx @@ -1142,7 +1142,7 @@ static Window* ImplGetLabelFor( Window* pFrameWindow, WindowType nMyType, Window bool bThisIsAGroupControl = (nMyType == WINDOW_GROUPBOX) || (nMyType == WINDOW_FIXEDLINE); // get index, form start and form end sal_uInt16 nIndex=0, nFormStart=0, nFormEnd=0; - Window* pSWindow = ::ImplFindDlgCtrlWindow( pFrameWindow, + ::ImplFindDlgCtrlWindow( pFrameWindow, pLabel, nIndex, nFormStart, @@ -1164,7 +1164,7 @@ static Window* ImplGetLabelFor( Window* pFrameWindow, WindowType nMyType, Window while( nIndex < nFormEnd ) { nIndex++; - pSWindow = ::ImplGetChildWindow( pFrameWindow, + Window* pSWindow = ::ImplGetChildWindow( pFrameWindow, nIndex, nIndex, false ); |