diff options
author | Noel Power <noel.power@novell.com> | 2010-11-04 14:11:30 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2010-11-04 14:11:30 +0000 |
commit | 31e5110132e8d4037008627aab3c1c456e4d5c4c (patch) | |
tree | f2070b6da12201d149b7f66d0e651cb0fdba64e6 | |
parent | 683a800e72eb4e1f91b82874166901af71a0b73c (diff) |
get rid of shadowed variable
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index ff016fe03509..1a05791dabb7 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -809,10 +809,10 @@ void SAL_CALL SfxDispatchController_Impl::dispatch( const ::com::sun::star::util bFailure = aReq.IsCancelled(); if ( bVBARequest ) { - SFX_REQUEST_ARG( aReq, pItem, SfxBoolItem, SID_DIALOG_RETURN, FALSE ); - if ( pItem ) + SFX_REQUEST_ARG( aReq, pDlgRet, SfxBoolItem, SID_DIALOG_RETURN, FALSE ); + if ( pDlgRet ) { - bSuccess = pItem->GetValue(); + bSuccess = pDlgRet->GetValue(); } } } |