diff options
author | Noel Power <noel.power@suse.com> | 2013-05-10 20:09:04 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-15 11:00:38 +0100 |
commit | 999908d66f9960709ab4912177b9adb6b23ab337 (patch) | |
tree | 4ed428e82d13867dc6d8d0a7be567ee5ef54acf0 /sc | |
parent | 07334f694e413eb2f4839dddfa6feb9fa6a908b0 (diff) |
try fix build failure ( on some platforms ) uno::makeAny( 1 )
Change-Id: I0107fc919a785195a1247c08ae019ed3f48f7e7d
(cherry picked from commit 5c20d05f925c9142f023ed910a1205acfc734c65)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbanames.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbanames.cxx b/sc/source/ui/vba/vbanames.cxx index e4f5503a9e74..f86b1d8ef85d 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); |