summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-31 11:10:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-31 11:13:08 +0000
commitc282c61b5fba08635868655f58776bf172d75e5d (patch)
treee242610912f13d8eed266e39e0d7ee34279e848f /vbahelper
parent96f281cb61bbd9d4cb5d53de30c74cf6767790f7 (diff)
WaE: various new gcc 4.6.0 warnings
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbaapplicationbase.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
index 927054a8e4..403feb54d6 100644
--- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx
+++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
@@ -359,15 +359,10 @@ uno::Any SAL_CALL VbaApplicationBase::Run( const ::rtl::OUString& MacroName, con
const uno::Any** pArg = aArgsPtrArray;
const uno::Any** pArgEnd = ( aArgsPtrArray + nArg );
- sal_Int32 nLastArgWithValue = 0;
sal_Int32 nArgProcessed = 0;
for ( ; pArg != pArgEnd; ++pArg, ++nArgProcessed )
- {
aArgs[ nArgProcessed ] = **pArg;
- if( (*pArg)->hasValue() )
- nLastArgWithValue = nArgProcessed;
- }
// resize array to position of last param with value
aArgs.realloc( nArgProcessed + 1 );