diff options
Diffstat (limited to 'sc/source/ui/vba/vbaworksheets.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaworksheets.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx index bd4c5e132747..0aaa5f55e252 100644 --- a/sc/source/ui/vba/vbaworksheets.cxx +++ b/sc/source/ui/vba/vbaworksheets.cxx @@ -433,8 +433,7 @@ ScVbaWorksheets::Item(const uno::Any& Index, const uno::Any& Index2) if ( Index.getValueTypeClass() == uno::TypeClass_SEQUENCE ) { const uno::Reference< script::XTypeConverter >& xConverter = getTypeConverter(mxContext); - uno::Any aConverted; - aConverted = xConverter->convertTo( Index, cppu::UnoType<uno::Sequence< uno::Any >>::get() ); + uno::Any aConverted = xConverter->convertTo( Index, cppu::UnoType<uno::Sequence< uno::Any >>::get() ); SheetMap aSheets; uno::Sequence< uno::Any > sIndices; aConverted >>= sIndices; |