[Libreoffice-commits] .: sfx2/source

Noel Power noelp at kemper.freedesktop.org
Thu Nov 4 07:12:00 PDT 2010


 sfx2/source/control/unoctitm.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 42a75ba6a964528150807fa29f09f901f8dc9480
Author: Noel Power <noel.power at novell.com>
Date:   Thu Nov 4 14:11:30 2010 +0000

    get rid of shadowed variable

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index c7c5d69..6a767c7 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();
                             }
                         }
                     }


More information about the Libreoffice-commits mailing list