diff options
author | Niklas Nebel <nn@openoffice.org> | 2010-09-08 18:59:42 +0200 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2010-09-08 18:59:42 +0200 |
commit | a1d731b2d6e742071c65ad57f69d3e58ebd75c56 (patch) | |
tree | 6bd8277a04a6b107560e0e263b3eff44c67f88b6 /basic | |
parent | b5e8ee7b05c4703cb8bc3b6f6556c8497b51d660 (diff) |
mib19: gcc compiler warning
Diffstat (limited to 'basic')
-rwxr-xr-x | basic/source/classes/sb.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 81b1991a215a..8d5a21b4e98e 100755 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1793,12 +1793,12 @@ Reference< frame::XModel > StarBASIC::GetModelFromBasic( SbxObject* pBasic ) return NULL; } - Any aThisComponent( sbxToUnoValue( pThisComponent ) ); - Reference< frame::XModel > xModel( aThisComponent, UNO_QUERY ); + Any aThisComponentAny( sbxToUnoValue( pThisComponent ) ); + Reference< frame::XModel > xModel( aThisComponentAny, UNO_QUERY ); if ( !xModel.is() ) { // it's no XModel. Okay, ThisComponent nowadays is allowed to be a controller. - Reference< frame::XController > xController( aThisComponent, UNO_QUERY ); + Reference< frame::XController > xController( aThisComponentAny, UNO_QUERY ); if ( xController.is() ) xModel = xController->getModel(); } |