diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-18 20:44:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-18 20:44:57 +0000 |
commit | c3391397341bed462a5a1c8c76772fc7ad1ff244 (patch) | |
tree | b62d64c3dd58c24003955193ce537a2573ecfb4f /sfx2/source/dialog/passwd.cxx | |
parent | 9cdf7c8faec53ad79a4d0212d04e058fec670a99 (diff) |
WaE: nBtnIndex set but unused
Diffstat (limited to 'sfx2/source/dialog/passwd.cxx')
-rwxr-xr-x | sfx2/source/dialog/passwd.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/passwd.cxx b/sfx2/source/dialog/passwd.cxx index 345576e61567..1f029db73d9f 100755 --- a/sfx2/source/dialog/passwd.cxx +++ b/sfx2/source/dialog/passwd.cxx @@ -177,10 +177,10 @@ SfxPasswordDialog::SfxPasswordDialog( Window* pParent, const String* pGroupText nChildIndex = xLayout->addChild( xButtons ); xLayout->setBorders( nChildIndex, -2, 0, -2, -2 ); - size_t nBtnIndex = xButtons->addWindow( &maHelpBtn, 0, aBtnSize ); + xButtons->addWindow( &maHelpBtn, 0, aBtnSize ); xButtons->addChild( new vcl::Spacer( xButtons.get() ) ); - nBtnIndex = xButtons->addWindow( &maOKBtn, 0, aBtnSize ); - nBtnIndex = xButtons->addWindow( &maCancelBtn, 0, aBtnSize ); + xButtons->addWindow( &maOKBtn, 0, aBtnSize ); + xButtons->addWindow( &maCancelBtn, 0, aBtnSize ); Link aLink = LINK( this, SfxPasswordDialog, EditModifyHdl ); maPasswordED.SetModifyHdl( aLink ); |