Kaydet (Commit) 7591a91f authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708894 Unused pointer value

Change-Id: I159f172171281e6b65190f65fedcb93975560dd1
üst 2f41b934
...@@ -1142,7 +1142,7 @@ static Window* ImplGetLabelFor( Window* pFrameWindow, WindowType nMyType, Window ...@@ -1142,7 +1142,7 @@ static Window* ImplGetLabelFor( Window* pFrameWindow, WindowType nMyType, Window
bool bThisIsAGroupControl = (nMyType == WINDOW_GROUPBOX) || (nMyType == WINDOW_FIXEDLINE); bool bThisIsAGroupControl = (nMyType == WINDOW_GROUPBOX) || (nMyType == WINDOW_FIXEDLINE);
// get index, form start and form end // get index, form start and form end
sal_uInt16 nIndex=0, nFormStart=0, nFormEnd=0; sal_uInt16 nIndex=0, nFormStart=0, nFormEnd=0;
Window* pSWindow = ::ImplFindDlgCtrlWindow( pFrameWindow, ::ImplFindDlgCtrlWindow( pFrameWindow,
pLabel, pLabel,
nIndex, nIndex,
nFormStart, nFormStart,
...@@ -1164,7 +1164,7 @@ static Window* ImplGetLabelFor( Window* pFrameWindow, WindowType nMyType, Window ...@@ -1164,7 +1164,7 @@ static Window* ImplGetLabelFor( Window* pFrameWindow, WindowType nMyType, Window
while( nIndex < nFormEnd ) while( nIndex < nFormEnd )
{ {
nIndex++; nIndex++;
pSWindow = ::ImplGetChildWindow( pFrameWindow, Window* pSWindow = ::ImplGetChildWindow( pFrameWindow,
nIndex, nIndex,
nIndex, nIndex,
false ); false );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment