summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-18 20:44:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-18 20:44:57 +0000
commitc3391397341bed462a5a1c8c76772fc7ad1ff244 (patch)
treeb62d64c3dd58c24003955193ce537a2573ecfb4f /sfx2
parent9cdf7c8faec53ad79a4d0212d04e058fec670a99 (diff)
WaE: nBtnIndex set but unused
Diffstat (limited to 'sfx2')
-rwxr-xr-xsfx2/source/dialog/passwd.cxx6
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 );