summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/subcomponentmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/app/subcomponentmanager.cxx')
-rw-r--r--dbaccess/source/ui/app/subcomponentmanager.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/subcomponentmanager.cxx b/dbaccess/source/ui/app/subcomponentmanager.cxx
index 5ed65de095ee..24b20c388877 100644
--- a/dbaccess/source/ui/app/subcomponentmanager.cxx
+++ b/dbaccess/source/ui/app/subcomponentmanager.cxx
@@ -290,12 +290,11 @@ namespace dbaui
bool bSuccess = false;
try
{
- Reference< XCommandProcessor > xCommandProcessor( _rxCommandProcessor, UNO_SET_THROW );
- sal_Int32 nCommandIdentifier = xCommandProcessor->createCommandIdentifier();
+ sal_Int32 nCommandIdentifier = _rxCommandProcessor->createCommandIdentifier();
Command aCommand;
aCommand.Name = OUString( "close" );
- xCommandProcessor->execute( aCommand, nCommandIdentifier, NULL );
+ _rxCommandProcessor->execute( aCommand, nCommandIdentifier, NULL );
bSuccess = true;
}
catch( const Exception& )