diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-24 14:50:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-24 14:50:41 +0000 |
commit | eb0d5fb776ffd2a8ea5be88c0683936da5afedd1 (patch) | |
tree | 3a6821cddd98dc162550ebc2ae6b33f773537f25 /basic | |
parent | d617b24172487bdd922b0cb713a95f70c9da23b4 (diff) |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 60296fdc23f5..750d48a67ca1 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -300,9 +300,8 @@ DocObjectWrapper::invoke( const ::rtl::OUString& aFunctionName, const Sequence< // call method SbxVariableRef xReturn = new SbxVariable; - ErrCode nErr = SbxERR_OK; - nErr = pMethod->Call( xReturn ); + pMethod->Call( xReturn ); Any aReturn; // get output parameters if ( xSbxParams.Is() ) |