Typos (comand -> command)
Change-Id: I968b23bc681f3121f4ed9f7e4a1e4f47bedcccb2
This commit is contained in:
@@ -1028,7 +1028,7 @@ namespace dbmm
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Reference< XCommandProcessor > xCommandProcessor( aElement, UNO_QUERY );
|
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() )
|
if ( xCommandProcessor.is() )
|
||||||
{
|
{
|
||||||
_out_rDocs.push_back( SubDocument( xCommandProcessor, sElementName, _eType, ++_io_counter ) );
|
_out_rDocs.push_back( SubDocument( xCommandProcessor, sElementName, _eType, ++_io_counter ) );
|
||||||
|
@@ -413,7 +413,7 @@ void SfxVirtualMenu::CreateFromSVMenu()
|
|||||||
OUString aCmd( pSVMenu->GetItemCommand( nSlotId ) );
|
OUString aCmd( pSVMenu->GetItemCommand( nSlotId ) );
|
||||||
if ( !aCmd.isEmpty() && (( nSlotId < SID_SFX_START ) || ( nSlotId > SHRT_MAX )) )
|
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 );
|
pMnuCtrl = SfxMenuControl::CreateControl( aCmd, nSlotId, *pSVMenu, sItemText, *pBindings, this );
|
||||||
if ( pMnuCtrl )
|
if ( pMnuCtrl )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user