Typos (comand -> command)

Change-Id: I968b23bc681f3121f4ed9f7e4a1e4f47bedcccb2
This commit is contained in:
Julien Nabet 2014-01-01 15:49:56 +01:00
parent 982db648c4
commit d53e4cca09
2 changed files with 2 additions and 2 deletions

View File

@ -1028,7 +1028,7 @@ namespace dbmm
else
{
Reference< XCommandProcessor > xCommandProcessor( aElement, UNO_QUERY );
OSL_ENSURE( xCommandProcessor.is(), "lcl_collectHierarchicalElementNames_throw: no container, and no comand processor? What *is* it, then?!" );
OSL_ENSURE( xCommandProcessor.is(), "lcl_collectHierarchicalElementNames_throw: no container, and no command processor? What *is* it, then?!" );
if ( xCommandProcessor.is() )
{
_out_rDocs.push_back( SubDocument( xCommandProcessor, sElementName, _eType, ++_io_counter ) );

View File

@ -413,7 +413,7 @@ void SfxVirtualMenu::CreateFromSVMenu()
OUString aCmd( pSVMenu->GetItemCommand( nSlotId ) );
if ( !aCmd.isEmpty() && (( nSlotId < SID_SFX_START ) || ( nSlotId > SHRT_MAX )) )
{
// try to create control via comand name
// try to create control via command name
pMnuCtrl = SfxMenuControl::CreateControl( aCmd, nSlotId, *pSVMenu, sItemText, *pBindings, this );
if ( pMnuCtrl )
{