summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-11-09 15:38:59 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-11-09 15:38:59 +0100
commit5e379068126df168bbd809fb97aaf9eca7e8776c (patch)
treebcd5679a798748029452e5872ee59c26996e2fa6 /sfx2
parent890f3d963e85b743a33f91e13a164b399ea77340 (diff)
parentedc04aede95f7b360beb18e02f7a86f5b21d12ff (diff)
CWS-TOOLING: integrate CWS fwk149
Notes
Notes: split repo tag: libs-core_ooo/DEV300_m93
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewsh.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index ea92507ba13f..968d0cbe8676 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -2061,6 +2061,7 @@ void Change( Menu* pMenu, SfxViewShell* pView )
if ( pSlot )
{
pMenu->InsertItem( pSlot->GetSlotId(), pMenu->GetItemText( nId ), pMenu->GetItemBits( nId ), nPos );
+ pMenu->SetItemCommand( pSlot->GetSlotId(), aCmd );
pMenu->RemoveItem( nPos+1 );
break;
}