[Libreoffice-commits] core.git: 2 commits - scripting/source sc/source

Tor Lillqvist tml at collabora.com
Wed Oct 2 11:13:13 PDT 2013


 sc/source/ui/vba/vbawindow.cxx             |    1 -
 scripting/source/vbaevents/eventhelper.cxx |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 2038519dbd50fe0d2f4c094293c42744ae11d3d5
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Oct 2 21:12:01 2013 +0300

    WaE: unused variable
    
    Change-Id: I48b12264c125b7d784c806e0fc501d01c91063d0

diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index 9b7e9c6..207368e 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -112,7 +112,6 @@ public:
             throw uno::RuntimeException("Cannot obtain view shell", uno::Reference< uno::XInterface >() );
 
         SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount();
-        uno::Sequence<sal_Int32> aSheets( nTabCount );
         SCTAB nIndex = 0;
         const ScMarkData& rMarkData = pViewShell->GetViewData()->GetMarkData();
         sheets.reserve( nTabCount );
commit 8c5b0d8193dae26a51051b94d069c20e76bcd7d8
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Oct 2 21:08:12 2013 +0300

    WaE: unused variable
    
    Change-Id: If37c7b6a5de8277ecc25538b06197cdf6168878c

diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index 92df40d..797d058 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -118,7 +118,6 @@ bool isMouseEventOk( awt::MouseEvent& evt, const Sequence< Any >& params )
 
 Sequence< Any > ooMouseEvtToVBADblClick( const Sequence< Any >& params )
 {
-    Sequence< Any > translatedParams;
     awt::MouseEvent evt;
 
     if ( !( isMouseEventOk(evt, params)) ||


More information about the Libreoffice-commits mailing list