sc/source/ui/vba/vbanames.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 5c20d05f925c9142f023ed910a1205acfc734c65 Author: Noel Power <noel.po...@suse.com> Date: Fri May 10 20:09:04 2013 +0100 try fix build failure ( on some platforms ) uno::makeAny( 1 ) Change-Id: I0107fc919a785195a1247c08ae019ed3f48f7e7d diff --git a/sc/source/ui/vba/vbanames.cxx b/sc/source/ui/vba/vbanames.cxx index 9cf542b..4abdd11 100644 --- a/sc/source/ui/vba/vbanames.cxx +++ b/sc/source/ui/vba/vbanames.cxx @@ -196,7 +196,8 @@ ScVbaNames::Add( const css::uno::Any& Name , if ( !xRange.is() ) xRange = new ScVbaRange( mxParent, mxContext, xUnoRange ); - uno::Reference< excel::XRange > xArea( xRange->Areas( uno::makeAny( 1 ) ), uno::UNO_QUERY ); + uno::Reference< excel::XRange > xArea( xRange->Areas( uno::makeAny( sal_Int32(1) ) ), uno::UNO_QUERY ); + uno::Any xAny = xArea->getCellRange() ; uno::Reference< sheet::XCellRangeAddressable > thisRangeAdd( xAny, ::uno::UNO_QUERY_THROW); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits