diff options
Diffstat (limited to 'vbahelper/source/msforms/vbamultipage.cxx')
-rw-r--r-- | vbahelper/source/msforms/vbamultipage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbamultipage.cxx b/vbahelper/source/msforms/vbamultipage.cxx index 4fa287efbc3d..2fb7016ac02e 100644 --- a/vbahelper/source/msforms/vbamultipage.cxx +++ b/vbahelper/source/msforms/vbamultipage.cxx @@ -102,7 +102,7 @@ ScVbaMultiPage::Pages( const uno::Any& index ) throw (uno::RuntimeException, std uno::Reference< XCollection > xColl( new ScVbaPages( this, mxContext, getPages( xContainer->getElementNames().getLength() ) ) ); if ( !index.hasValue() ) return uno::makeAny( xColl ); - return xColl->Item( uno::makeAny( index ), uno::Any() ); + return xColl->Item( index, uno::Any() ); } uno::Sequence< OUString > |